[DejaVu-bugs] [Bug 37395] New: DejaVuSans glyphs broken using Freetype FT_Render_Glyph with specified width

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 19 23:58:20 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37395

           Summary: DejaVuSans glyphs broken using Freetype
                    FT_Render_Glyph with specified width
           Product: DejaVu
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Sans
        AssignedTo: dejavu-bugs at lists.freedesktop.org
        ReportedBy: rombust at hotmail.co.uk


Created an attachment (id=46932)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46932)
Packaged files demonstrating problem

This bug was originally posted to the FreeType project bug report (
https://savannah.nongnu.org/bugs/?33288 )

Attached is a test application (main.cpp) that demonstrates the problem. 

It tries to render a "2". But the middle curve is reversed when using:
FT_LOAD_TARGET_NORMAL, FT_RENDER_MODE_NORMAL

See attached text file: freetest.txt (unix line feeds )
freetest_crlf.txt (win32 line feeds )

(See example: http://esoteric.clanlib.org/~rombust/sub_on.png )

A reply was:

[tested with DejaVuSans 2.32] 

I'm quite sure this is a bug in the font itself. 

If you debug glyph `two' with different xres and yres, you can see many
artefacts. For example, at (x-ppem,y-ppem) = (50,44), the diagonal stroke gets
distorted to the right, and at (54,44), the spike to the left is eight times
larger than at (55,44), which is what your original settings are equivalent.

I've attached images which demonstrate it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the DejaVu-bugs mailing list