FreeBSD Bugzilla – Attachment 205991 Details for
Bug 239358
java/openjdk8 fails to build due to patch fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
java/openjdk8: fix build with FONTCONFIG enabled
openjdk8.diff (text/plain), 1.48 KB, created by
Dima Panov
on 2019-07-22 11:07:32 UTC
(
hide
)
Description:
java/openjdk8: fix build with FONTCONFIG enabled
Filename:
MIME Type:
Creator:
Dima Panov
Created:
2019-07-22 11:07:32 UTC
Size:
1.48 KB
patch
obsolete
>Index: java/openjdk8/files/fontconfig.patch >=================================================================== >--- java/openjdk8/files/fontconfig.patch (revision 507128) >+++ java/openjdk8/files/fontconfig.patch (working copy) >@@ -142,15 +142,17 @@ > > /* > * Class: sun_font_FreetypeFontScaler >-@@ -726,32 +850,15 @@ Java_sun_font_FreetypeFontScaler_getGlyp >+@@ -698,31 +826,15 @@ > return ptr_to_jlong(getNullGlyphImage()); > } > >-- /* if algorithmic styling is required then we do not request bitmap */ >-- if (context->doBold || context->doItalize) { >-- renderFlags = FT_LOAD_DEFAULT; >+- if (!context->useSbits) { >+- renderFlags |= FT_LOAD_NO_BITMAP; > - } >-- >++ RenderingProperties renderingProperties; >++ readFontconfig((const FcChar8 *) scalerInfo->face->family_name, >++ context->ptsz, context->aaType, &renderingProperties); >+ > - /* NB: in case of non identity transform > - we might also prefer to disable transform before hinting, > - and apply it explicitly after hinting is performed. >@@ -168,10 +170,7 @@ > - target = FT_LOAD_TARGET_LCD_V; > - } > - renderFlags |= target; >-+ RenderingProperties renderingProperties; >-+ readFontconfig((const FcChar8 *) scalerInfo->face->family_name, >-+ context->ptsz, context->aaType, &renderingProperties); >- >+- > glyph_index = FT_Get_Char_Index(scalerInfo->face, glyphCode); > > - error = FT_Load_Glyph(scalerInfo->face, glyphCode, renderFlags);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239358
: 205991 |
206010