freetype
[Top][All Lists]
Advanced

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

Re: [ft] Freetype2 returns different descender value after upgrading 2.6


From: Werner LEMBERG
Subject: Re: [ft] Freetype2 returns different descender value after upgrading 2.6.x to 2.8.x
Date: Mon, 09 Apr 2018 10:52:37 +0200 (CEST)

[Please write your e-mail as plain text, not HTML.]

> We use sum of ascender and descender to determine glyph size is over
> winset size or not.  If it is over winset size, we make inner text
> to "...".

I don't understand this.  Please provide an example together with
(small!) images that shows what you mean.

> My question is, to determine overflow, which value is most proper
> value?  There are many kinds of value which represent "height" in
> freetype2.  For example, ascender and descender, yMin and yMax,
> height.
> 
> I read documents over and over but it is so hard to say which value
> is proper for this.  Could you share your opinion?

It really depends on what you want to do...


    Werner



reply via email to

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