behdad / glyphy

GLyphy is a signed-distance-field (SDF) text renderer using OpenGL ES2 shading language.
Other
663 stars 76 forks source link

possible bug in glyph rendering? #37

Open mgood7123 opened 2 years ago

mgood7123 commented 2 years ago

image

would this be a bug in the glyph rendering or in the font file?

make && ./demo/glyphy-demo -t "{" -f /System/Library/Fonts/Times.ttc

this does not seem to happen in other font files

tho some fonts render a square such as /System/Library/Fonts/Keyboard.ttf

./demo/glyphy-demo -t "1234567890-=q\`wertyuiop[]\asdfghjkl;\'zxcvbnm,./~!@#$%^&*()_+{}|:\"<>?QWERTYUIOPASDFGHJKLZXCVBNM" -f /System/Library/Fonts/Keyboard.ttf

image

behdad commented 2 years ago

Yeah I get similar glitches with amdgpu driver currently. I'm not determined enough to debug... What driver are you on?

GLyphy was always most solid on intel driver.

mgood7123 commented 2 years ago

im on Mac OSX catalina Intel HD Graphics 4000 1536 MB

behdad commented 2 years ago

Can you check the latest master? I fixed a bug there.