Hi, On Tue, 09 Feb 2016 13:05:13 +0200 Antonis Tsolomitis <antonis.tsolomi...@gmail.com> wrote: ... > > mkfontscale && mkfontdir > > does not produce iso8859-7 strings in the fonts.dir/alias files > > I googled this issue and it seems that these commands do not > support iso8859-7 Obviously this is a bug, it is supported.
I did some debugging and looks that the problem lies in the libfontenc library. mkfontscale uses this library to check each 8-bit codepage if it is supported by font. It considers a codepage to be supported if all of it's characters present in the font (realy with some exceptions, but not in the case of iso8859-7 ). There is an error in the iso8859-7 -> UNICODE map that is used by the library: it wrongly requires that several characters, which are not really part of iso8859-7, to be present in fonts. They are not, so mkfontscale disqualifies the entire codepage. I'll submit bug request on this to the Xorg. > > This is why I had stayed so far with old bitmap fonts for Greek. > But now I want to work on LTSP and for some reason these fonts do not > work. So I started looking around and got to your suggestions. > > Is there any way around this? Meanwhile you can add required entries manually to the fonts.scale and fonts.dir like this: sed -i -e 's/^\(.*-iso8859\)-1$/\1-1\n\1-7/g' fonts.dir fonts.scale > > And is it easy to add to your script support for the Ubuntu font > family? It's easy, I'll try, but I'm not sure that they'll look any good with the legacy rasterizer. Regards, Eugene > > best, > > Antonis. > > > > > On 08/02/2016 04:08 πμ, Eugene wrote: > > Hi, > > > > Monotype fonts that are listed > > in the /usr/dt/config/xfonts/en_US.UTF-8/font.aliases file > > are from the microsoft core true type fonts package, which must be > > installed and correctly added to X Server font path. Usually it is > > installed in some directory under /usr/share/fonts (depending on > > distribution). > > > > This fonts.aliases file has a bug, which has been discovered some > > time ago on this list by Tomasz Konojacki : the config does not > > seem work on most modern systems because it specifies font weights > > that do not exist on most systems: 'demibold' instead of 'bold' and > > 'semilight' instead of 'regular'. > > > > Since then I've written a dtksh script that generates font.aliases > > correctly for ms core fonts and additionally supports generating > > fonts.alias that uses other font families (dejavu and gnu freefont). > > > > It would be great if you could test that if works on your system. > > > > The script attached is to this mail. It expects name of font family > > as first argument (run it w/o arguments to get list of > > possibilities) and writes the generated file on standard output. > > > > Regarding fixing the font.aliases file that is provided with CDE - > > I'm not sure how to proceed with it: > > > > Or simply fix the current file so it will works for most people and > > place the generation script into the contrib for those who want > > custimization, or, alternatively, integrate it's generation into the > > build, thus letting to select font family and supported codepages at > > build time. > > > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel