Forum Topic - New Font Causes Double Spacing: (12 Items)
   
New Font Causes Double Spacing  
It has been a long time since I added any fonts.  I am trying to add a new font with a ttf file, but I keep getting 
double spacing on the characters.  Has anyone had this problem?
RE: New Font Causes Double Spacing  
Photon version?

-----Original Message-----
From: Ronald Mich [mailto:community-noreply@qnx.com] 
Sent: Friday, March 05, 2010 3:36 PM
To: photon-graphics
Subject: New Font Causes Double Spacing

It has been a long time since I added any fonts.  I am trying to add a
new font with a ttf file, but I keep getting double spacing on the
characters.  Has anyone had this problem?



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post48945
Re: RE: New Font Causes Double Spacing  
Using Neutrino 6.3.2, but I am not sure what version of Photon it is.
RE: RE: New Font Causes Double Spacing  
Ok, so you just copied the font to /usr/photon/font_repository?

If so, can you check /etc/system/config/font-traplist and see if you
have a entry for your font file?  If so, please post the font-traplist.

-----Original Message-----
From: Ronald Mich [mailto:community-noreply@qnx.com] 
Sent: Friday, March 05, 2010 3:48 PM
To: photon-graphics
Subject: Re: RE: New Font Causes Double Spacing

Using Neutrino 6.3.2, but I am not sure what version of Photon it is.



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post48947
Re: RE: RE: New Font Causes Double Spacing  
Yes, I added it to the font repository.  But there is only a crtc-settings file in /etc/system/config, there is no font-
traplist.
RE: RE: RE: New Font Causes Double Spacing  
Have you restarted the system since adding it?

If not, please do so.  After that, please post:
 
/etc/system/config/font-traplist
/usr/photon/font_repository/font*

I suspect the metrics are not "correct", but I just want to make sure it
has not been mis-identified as monospace, versus proportional.

Thanks,
-Derek

-----Original Message-----
From: Ronald Mich [mailto:community-noreply@qnx.com] 
Sent: Friday, March 05, 2010 4:26 PM
To: photon-graphics
Subject: Re: RE: RE: New Font Causes Double Spacing

Yes, I added it to the font repository.  But there is only a
crtc-settings file in /etc/system/config, there is no font-traplist.



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post48949
Re: RE: RE: RE: New Font Causes Double Spacing  
Still No font-traplist, but attached is the contents of font_repository.
Attachment: Compressed file font_repository.zip 634.67 KB
RE: RE: RE: RE: New Font Causes Double Spacing  
Oh, sorry Ronald, I thought this was a "dev" system, it's a target ...
that's why there is no font-traplist ... anyhow, all the config entries
appear in the fontdir, so that is fine ... stay tuned.

-----Original Message-----
From: Ronald Mich [mailto:community-noreply@qnx.com] 
Sent: Monday, March 08, 2010 10:38 AM
To: photon-graphics
Subject: Re: RE: RE: RE: New Font Causes Double Spacing

Still No font-traplist, but attached is the contents of font_repository.



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post49022
RE: RE: RE: RE: New Font Causes Double Spacing  
btw, is it the FreeSans one you are having troubles with?

-----Original Message-----
From: Ronald Mich [mailto:community-noreply@qnx.com] 
Sent: Monday, March 08, 2010 10:38 AM
To: photon-graphics
Subject: Re: RE: RE: RE: New Font Causes Double Spacing

Still No font-traplist, but attached is the contents of font_repository.



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post49022
Re: RE: RE: RE: RE: New Font Causes Double Spacing  
Yes, FreeSans. Thanks
RE: RE: RE: RE: New Font Causes Double Spacing  
Hi Ronald,

FreeSans,0@freesans_.ttf,ARIAL,0,,0020-F002,f,79x170,556K
FreeSansb,0@freesansbold_.ttf,Arial,0,B,0020-F002,f,79x170,277K

Notice that 'f' there, the font subsystem identified it as 'fixed-width'
in 632.  I do recall an issue with this, which seems to be corrected on
64x, as it identifies it as 'proportional'.  You can fake it out by just
changing that 'f' to a 'p'.

Just to cover all the bases, we ran these fonts through a validater, and
I hate to be the bearer of bad news, but these fonts are "bad".  There
are many glyphs that contain erroneous parameters, and bad bounding
boxes.  The rasterizer used by the font sub-system is built for speed,
and especially after initialization, does not check for all errors.
What I am trying to say is these fonts will corrupt memory over time, if
not in short order.  I suggest getting them fixed, or obtaining higher
quality fonts.

Kind Regards,
-Derek

-----Original Message-----
From: Ronald Mich [mailto:community-noreply@qnx.com] 
Sent: Monday, March 08, 2010 10:38 AM
To: photon-graphics
Subject: Re: RE: RE: RE: New Font Causes Double Spacing

Still No font-traplist, but attached is the contents of font_repository.



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post49022
Re: RE: RE: RE: RE: New Font Causes Double Spacing  
Thanks, that did work.  Thanks for the tip also.  I am trying to find a higher quality font.