Font Installation lazarus / 13-General ---------------------------------------------------------------------- stavros92 · 2005-11-08 11:40 I am trying to display greek chaacters in a stringgrid but unfoerunately I cannot. Anyway as I see not all fonts listed e.g from OpenOffice are displayed in the font section of the object inspector. How can I add more fonts there? Where does Lazarus looks for fonts when starting? Running on fc4 Thanks Stavros ---------------------------------------------------------------------- jesusr · 2005-11-09 01:44 Quote from: "stavros92"I am trying to display greek chaacters in a stringgrid but unfoerunately I cannot. What is your lazarus version? For this to work you will need a recent Lazarus (from SVN), Currently I can't recommend the last one , but starting with revision 8000 grids should support fonts in both windows and linux. If you are using the [...] button in Object Inspector for editing the font, then a standard gtk font dialog will be shown, there you should select a font that supports iso8859-7 encoding (greek). If you are expanding the font property in Object Inspector then first select the font name, then select the Font Charset, it should be GREEK_CHARSET. This is somewhat unfriendly because font name and font charset can be set independently and sometimes it doesn't give the right font, probably this will be improved. There is an example under lazarus/examples/fontenum directory, you can see all fonts that support Greek easily because there is a filter to this, just select GREEK_CHARSET and apply the filter. Please try it, any feedback is welcome. Quote from: "stavros92" Anyway as I see not all fonts listed e.g from OpenOffice are displayed in the font section of the object inspector. How can I add more fonts there? Where does Lazarus looks for fonts when starting? Running on fc4 Thanks Stavros There will be listed only fonts available through the X server (or font server?), maybe OpenOffice supports other kind of fonts, not sure. Jesus Reyes A. ---------------------------------------------------------------------- stavros92 · 2005-11-09 10:48 Well you are absolutely right! The latest SVN lazarus version solves the greek font problem. Thanks for helping. Stavros