Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 736663 Details for
Bug 809611
x11-terms/zutty incompatibility with freetype-2.11.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
freetype 2.11 patch
zutty-0.9-freetype-2.11.patch (text/plain), 795 bytes, created by
Stephan Hartmann (RETIRED)
on 2021-08-29 16:53:34 UTC
(
hide
)
Description:
freetype 2.11 patch
Filename:
MIME Type:
Creator:
Stephan Hartmann (RETIRED)
Created:
2021-08-29 16:53:34 UTC
Size:
795 bytes
patch
obsolete
>diff --git a/src/font.cc b/src/font.cc >index f8da582..6c39d17 100644 >--- a/src/font.cc >+++ b/src/font.cc >@@ -255,11 +255,13 @@ namespace zutty > std::to_string (c)); > } > >- if (FT_Render_Glyph (face->glyph, FT_RENDER_MODE_NORMAL)) >- throw std::runtime_error ( >- std::string ("FreeType: Failed to render glyph for char ") + >- std::to_string (c)); >- >+ if (face->glyph->format != FT_GLYPH_FORMAT_BITMAP) >+ { >+ if (FT_Render_Glyph (face->glyph, FT_RENDER_MODE_NORMAL)) >+ throw std::runtime_error ( >+ std::string ("FreeType: Failed to render glyph for char ") + >+ std::to_string (c)); >+ } > > // destination pixel offset > const unsigned int dx = face->glyph->bitmap_left > 0
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 809611
:
735094
| 736663