freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can I set exactly pixel?


From: sylvain . bertrand
Subject: Re: how can I set exactly pixel?
Date: Fri, 27 Dec 2019 17:46:07 +0000
User-agent: Mutt/ (2018-04-13)

On Fri, Dec 27, 2019 at 12:58:22PM +0100, Werner LEMBERG wrote:
> For most outline fonts, it is not possible to get exact glyph
> dimensions in advance (exception: the font contains an `hdmx' table
> that holds horizontal, device-dependent information for selected pixel
> sizes).  In other words, you have to render all (needed) glyphs to get
> their widths and heights, adjusting the scaling value as necessary in
> an iterative process until you are done.
> 
> To avoid rendering again you should use a glyph image and metrics
> cache.

Hi,

sorry to pop in.

Then what is the story about monospace outline fonts?

(For instance, liberation/dejavu monospace otf/ttf outline fonts?)

-- 
Sylvain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]