freetype
[Top][All Lists]
Advanced

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

Re: [ft] Misaki Mincho metrics issues


From: Lawrence D'Oliveiro
Subject: Re: [ft] Misaki Mincho metrics issues
Date: Fri, 23 Oct 2015 12:01:00 +1300

On Fri, 23 Oct 2015 01:39:35 +0300, Nikolay Sivov wrote:

> On 23.10.2015 1:07, Lawrence D'Oliveiro wrote:
>
>> Or just ignore the bitmaps metrics. Bitmaps are there as a rendering
>> optimization, they’re not supposed to disagree with the scalable
>> metrics.
> 
> Thing is that this font is not reported as scalable by freetype...

It is for me. I just installed the “fonts-misaki” package in Debian
Unstable. Then, using Python FreeType
<https://github.com/ldo/python_freetype>:

    >>> ft = freetype2.Library()
    >>> f = ft.find_face("misakimincho")
    >>> f.family_name
    'MisakiMincho'
    >>> "%#08x" % f.face_flags
    '0x000819'
    >>> f.face_flags & freetype2.FT.FACE_FLAG_SCALABLE != 0
    True



reply via email to

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