FLTK logo

Re: [fltk.bugs] [MOD] STR #2165: fluid interface drawing problems (Linux + XFT)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [MOD] STR #2165: fluid interface drawing problems (Linux + XFT) Greg Ercolano Nov 28, 2010  
 
It might be the font we've chosen.. I think one of the fonts looks
like a 'condensed' version of the font (in width), vs the other
where the letters look 'fat' and 'wide'.

This might just be a wacky font on the platform I was working on
at the time, which I think was a fedora 3 system that I think I still have.

Matthias Melcher wrote:
> 
> Looking at STR 2456, there seems to be a general font scale issue. I know that we never insisted on a perfect font size, assuming that the font "height" is supposed to be set. But having learned much more about fonts than I ever wanted, I now know that there are many different meanings to the "height" of a font.
> 
> So what's a poor developer to do? 
> 
> - first, we need to define what exactly we mean by font "height", right? 
> - then we need to find the function on all platforms that returns the same values for the same (TT) font
> - finally, we have to find out how to *request* the desired font height
> 
> That all should give use a better result, but it still does not guarantee that the *width* and layout will be the same on every platform... .
> 
> Sigh.


-- 
Greg Ercolano, erco-LFyj+9PUM9jQT0dZR+AlfA@public.gmane.org
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: +1 626-576-0010 ext.23
Fax: +1 626-576-0020
Cel: +1 310-266-8906
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.