freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] TakaoMincho japanese truetype font size problem in pango, cairo


From: Werner LEMBERG
Subject: Re: [ft] TakaoMincho japanese truetype font size problem in pango, cairo
Date: Mon, 26 Dec 2016 09:29:13 +0100 (CET)

> It seems that pango font rendereing have a problem with font size.
> I wrote small sample program.
> 
> https://github.com/yusukemihara/test_takao_mincho
> 
> It render same japansese strings repeatedly,smaller and smaller.
> ubuntu 14.04 trusty(freetype-2.5.2),glyphs rendererd bit by bit
> smaller,

No, it doesn't, but the advance widths are becoming smaller and
smaller.

> ubutun 16.10 yaketty(freetype-2.6.3),glyphs rendered same size at some
> lines.
> 
> see out.1404.pdf and out.1610.pdf.
> 
> https://github.com/yusukemihara/test_takao_mincho/blob/master/out.1404.pdf
> https://github.com/yusukemihara/test_takao_mincho/blob/master/out.1610.pdf
> 
> What are the possible cause? I should what to do?

Try to activate auto-hinting.  Or maybe use linear advance widths to
position the glyphs.

Note that I don't know the details of Pango; you should contact its
maintainers for more help.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]