Letters g,p,y and similar are displayed too high using TTF f
  • Order of the Butterfly
    Order of the Butterfly
    hiTCH-HiKER
    Posts: 169 from 2003/12/31
    I just installed some TTF fonts (using raw metrics) with the MorphOS
    fontmanager, but now the letters g, y or p are not where they should
    be, but a few pixels above their normal position.
    How can I prevent that? Do I need other TTF fonts? I used those that
    came with Win2k...
  • »13.04.04 - 22:09
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    Hi hiTCH-HiKER,

    it seems that we have common interests and common problems. This is my solution for your current problem.

    The default vertical font spacing used by AmigaOS is very small; it is larger with MorphOS. So, the "raw" metric that works well for truetype fonts with Amiga diskfont.library, does not work correctly with MorphOS diskfont.library. Actually the font baseline is not set by ttf managers, but is inferred by diskfont.library from the glyph descriptions. So fonts generated with the same options could be displayed with a straight baseline on the Amiga and with a jumping baseline on the Pegasos. To get rid of the problem you should reinstall your truetype fonts on the Pegasos with the most compatible "usWin ascender" option. Fonts will be smaller than with the "raw" metric, so you must increase a little your preferred sizes.

    More about this subject in a forthcoming review...

    Bye
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »14.04.04 - 00:10
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    merko
    Posts: 328 from 2003/5/19
    Don't use "raw metrics". Use "global bounding box". This probably
    makes the font a bit smaller, but at least all the characters will fit
    without moving around. :-)
  • »14.04.04 - 01:57
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    hiTCH-HiKER
    Posts: 169 from 2003/12/31
    @DoctorMorbius_FP:
    Thanks for the detailed infos, I tried with "usWinAscender" and now it's perfect!
    The setting "global bounding box" is too small, because you can't set the font height much heigher than 20 pixels in MorphOS and at 20 it's still not big enough :) ... so I use "usWinAscender" with 18 pixel height now...
  • »14.04.04 - 18:05
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    merko
    Posts: 328 from 2003/5/19
    What? I use sizes like 35 with no problems. Why wouldn't this work?
  • »15.04.04 - 01:09
    Profile