home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Submit: Code Patches
Font Rendering Issues
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="offbyone" data-source="post: 925867" data-attributes="member: 73415"><p>face is a struct from the freetype lib.</p><p><span style="font-size: 11px"><span style="color: #424242">face.bbox.yMin </span></span>is negative and in order to get the correct max height I need to add yMax and yMin.</p><p>From the freetype docs, it said that the bbox is the maximum enclosing of all characters in the font.</p><p>The old code did not ever look at the bbox, only at height and ascender which seems was not the total a character can be when ascender and descender are taken into account.</p><p> </p><p>I had some fun with this: <a href="http://en.wikipedia.org/wiki/Typeface_anatomy" target="_blank">http://en.wikipedia.org/wiki/Typeface_anatomy</a></p><p>and this: <a href="http://www.freetype.org/freetype2/documentation.html" target="_blank">http://www.freetype.org/freetype2/documentation.html</a></p></blockquote><p></p>
[QUOTE="offbyone, post: 925867, member: 73415"] face is a struct from the freetype lib. [SIZE=11px][COLOR=#424242]face.bbox.yMin [/COLOR][/SIZE]is negative and in order to get the correct max height I need to add yMax and yMin. From the freetype docs, it said that the bbox is the maximum enclosing of all characters in the font. The old code did not ever look at the bbox, only at height and ascender which seems was not the total a character can be when ascender and descender are taken into account. I had some fun with this: [url]http://en.wikipedia.org/wiki/Typeface_anatomy[/url] and this: [url]http://www.freetype.org/freetype2/documentation.html[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Submit: Code Patches
Font Rendering Issues
Contact us
RSS
Top
Bottom