mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 11:08:02 +02:00
fixed the bug that prevented bitmap formats to be loaded
correctly when the auto-hinter is used (symptom: "winfonts" driver didn't load bitmaps correctly).
This commit is contained in:
parent
eedd97d775
commit
f89f5cdf8e
1 changed files with 4 additions and 2 deletions
|
|
@ -979,8 +979,10 @@
|
|||
/* do we need to load the glyph through the auto-hinter? */
|
||||
library = driver->root.library;
|
||||
hinter = library->auto_hinter;
|
||||
autohint = hinter &&
|
||||
!( load_flags & ( FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING ) );
|
||||
autohint = hinter &&
|
||||
!( load_flags & ( FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING ) ) &&
|
||||
FT_DRIVER_IS_SCALABLE(driver) &&
|
||||
FT_DRIVER_USES_OUTLINES(driver);
|
||||
if ( autohint )
|
||||
{
|
||||
if ( FT_DRIVER_HAS_HINTER( driver ) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue