dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
432 stars 79 forks source link

Fixes a rendering problem of certain CJK fonts #84

Closed cl91 closed 11 years ago

cl91 commented 11 years ago

I recently switched to a new Chinese font on my computer and noticed that it is not rendered correctly. The glyphs seemed to have been shifted downward.

Before this patch was applied: before If you look closely enough you will find that the Chinese line appeared to be shifted down some pixels.

After this patch was applied: after Now the Chinese characters are rendered correctly.

I tested other fonts (CJK and Latin) I have on my computer and this patch solved the rendering problem while not causing regressions (Latin glyphs continue to appear normal).

dvdhrm commented 11 years ago

I picked this up via the mailing-list. Thanks a lot! I usually don't encounter these bugs with European text so I am very thankful for reports like this. David