Re: [ft] In freetype how can one set font size in pt, but keep resolution independent?

2006-05-18 Thread Jan-Åke Larsson
Werner LEMBERG wrote: Well, the very problem is that neither TrueType nor PS fonts have the concept of a `design size'. This is something from the TeX world. Correct. In the TeX world, a font designed for 5pt output is visibly different from the same font as designed for 10pt. For instance

Re: [ft] In freetype how can one set font size in pt, but keep resolution independent?

2006-05-17 Thread Werner LEMBERG
Got a question regarding how does one set font in pt's in freetype, but keep resolution independent. This doesn't work. I read through a bunch of the freetype API documentation, the tutorials, the glyph conventions, but still am unsure how to set a fontsize (that is a long) and make the

[ft] In freetype how can one set font size in pt, but keep resolution independent?

2006-05-16 Thread Andrew John Clayphan
Hi, Got a question regarding how does one set font in pt's in freetype, but keep resolution independent. I'm trying to set a fontsize (that is a long) which is to represent the size in points (pt). What i am trying to do is set the fontsize in the new face that I have created, however I