glyps are not working properly with directfb and showing broken font for unicode (korean font)
(In reply to comment #0) > glyps are not working properly with directfb and showing broken > font for unicode (korean font) #define DFB_SHOW_GLYPHS 0 is working properly,without glyps in cairo-directfb-surafce.c but #define DFB_SHOW_GLYPHS 1 is not working properly i.e glyps are not working when backend is directfb ,shows broken font (korean,japanese)
I am having maybe the same problems. The two attached screenshots are from the same screen (just cropped to make the file smaller). The should say "Universität" and "solarCity". As you can see the "t" in both is broken in exatly the same way. The problem goes away by setting #define DFB_SHOW_GLYPHS 0. - Erwin
Created attachment 23116 [details] Screenshot with broken "Universität" text
Created attachment 23117 [details] Screenshot with broken "solarCity" text
Created attachment 35751 [details] [review] Patch based on Cairo version 1.8.10 Attaching a trivial fix proposal based on Cairo version 1.8.10.
(In reply to comment #5) > Created an attachment (id=35751) [details] > Patch based on Cairo version 1.8.10 > > Attaching a trivial fix proposal based on Cairo version 1.8.10. The patch is not 100% correct. Cairo will keep resizing the font cache surface every time a new glyph is added to the font cache after it has filled the first line of glyphs. I have attached a patch that fixes the prolem.
Created attachment 36781 [details] [review] Patch to fix font cache corruption.
The wicked code is gone, long live the wicked code.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.