[Pkg-fonts-devel] Bug#714436: Bug#714436: fonts-droid: No Hangul characters

Anthony Fok foka at debian.org
Sat Nov 30 10:25:16 UTC 2013


Hello,

I came across the same peculiarity that Martin Tang discovered.  I was
comparing WQY MicroHei and Droid Sans Fallback using "ttx" from the
fonttools package, and noticed that, peculiarly,
DroidSansFallbackFull.ttf contains one and only one Hangul glyph,
U+AC00.

A quick Google search reveals this change in Android font selection:

https://android.googlesource.com/platform/frameworks/base.git/+/562c45cc841681ed80d4e94515b23c28eb60eae4

    Latest versions of DroidSansFallback from Monotype.

    The DroidSansFallback.ttf file has some additional glyphs and
    glyph fixes (including a fix for bug 6723057 and will likely fix
    bug 6629748).  It continues to cover Korean Hangul but does not
    cover CJK Ext A (for space reasons on small system image devices).

    The DroidSansFallbackFull.ttf file has the bug fixes listed and
    also removes the Korean Hangul because we are now going to use
    NanumGothic for Korean (NanumGothic.ttf is added in a separate
    CL in the external/naver-fonts directory).

    The falback_fonts.xml file has been modified to add NanumGothic.ttf
    before DroidSansFallback.

Looks like we need to do the equivalent for the fonts-droid Debian package.

First of all, DroidSansFallback.ttf is not a strict subset of
DroidSansFallbackFull.ttf,
and DroidSansFallback.ttf should indeed be packaged.

Second, perhaps a fontconfig configuration snippet could be added so that
another font (e.g. that in fonts-nanum) come before Droid provided by
fonts-droid?

Cheers,
Anthony

On Sat, Jun 29, 2013 at 6:25 PM, Martin Tang <debian at infinitesimal.ca> wrote:
> Package: fonts-droid
> Version: 1:4.2.r1-2
> Severity: normal
>
> Dear Maintainer,
>
> Korean characters do not display properly (they show up as boxes) after the package is installed. After further investigation (downloading the .ttf files from the Android git repository), I found that:
>
> 1. With only DroidSansFallbackFull.ttf (as is the case in fonts-droid), Korean characters do not display properly.
>
> 2. With DroidSansFallback.ttf present, Korean characters display properly.
>
>
> -- Package-specific info:
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                                 Version                 Architecture            Description
> +++-====================================-=======================-=======================-=============================================================================
> ii  fontconfig                           2.10.2-2                amd64                   generic font configuration library - support binaries
> ii  libfreetype6:amd64                   2.4.9-1.1               amd64                   FreeType 2 font engine, shared library files
> ii  libxft2:amd64                        2.3.1-1                 amd64                   FreeType-based font drawing library for X
>
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages fonts-droid depends on:
> ii  dpkg  1.16.10
>
> fonts-droid recommends no packages.
>
> fonts-droid suggests no packages.
>
> -- no debconf information
>
> _______________________________________________
> Pkg-fonts-devel mailing list
> Pkg-fonts-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fonts-devel



More information about the Pkg-fonts-devel mailing list