Article View: news.software.readers
Article #260729Re: [Fonts] Checking glyph population
From: Michael Bäuerle
Date: Fri, 15 Jul 2016 16:56
Date: Fri, 15 Jul 2016 16:56
74 lines
5254 bytes
5254 bytes
Michael Bäuerle wrote:
> Bernd Rose wrote:
> > On Thu, 14 Jul 2016 17:26:14 +0200, Michael Bäuerle wrote:
> > >
> > > [...]
> > > Thanks for the pointers. gucharmap is available for NetBSD too, but it
> > > looks like that it simply uses GTK+ (with its Pango based glyph sub-
> > > stitution) for font rendering
> >
> > IMHO, you want this functionality listed in the Gucharmap Wiki:
> > | See which font is actually being used to draw each character’s glyph
> >
> > If it is a different one than the "outer part" of a composite font, then
> > that composite font doesn't contain the glyph.
>
> This is displayed after right-clicking on a glyph. But there is a better
> option: In the Pull-down menu I have overlooked the checkbox:
>
> "View->Show only glyphs from this font"
>
> After activating it, the glyph for U+1E9E disappears as expected:
> <http://micha.freeshell.org/tmp/2016-07-15_gucharmap_DejaVu_Sans_Mono.png>
>
>
> But the displayed glyphs still don't match the population map displayed
> by fontconfig:
> |
> | 001e: ff0fffff ffff3fff fff03fff f3ffff0f 8bffffff 33c33003 3f003cc0 033fcf3f
> ^
> Example: According to this map U+1E9A should be missing too.
Summary of my test:
- gucharmap 2.x lacks the option "Show only glyphs from this font"
- gucharmap 3.x have this option in the "View" menu
With this option active the glyph substitution from other fonts is
disabled.
But there is still an engine active that tries to compose missing
glyphs on pixel-level with data from the current font.
Screenshot from gucharmap 2.32.1:
<http://micha.freeshell.org/tmp/2016-07-14_gucharmap_DejaVu_Sans_Mono.png>
Glyph substitution is always active. Look at
U+1E7A (LATIN CAPITAL LETTER U WITH MACRON AND DIAERESIS)
character 19 in the 3rd line: Looks good because it is taken from the
Font Courier.
Screenshot from gucharmap 3.8.2:
<http://micha.freeshell.org/tmp/2016-07-15_gucharmap_DejaVu_Sans_Mono.png>
Glyph substitution from other fonts is disabled. The glyph from Courier
for U+1E7A is no longer available - but the field is not empty!
The diaeresis is rendered at the wrong place (not above the main
character) what indicates that the glyph was composed from multiple
parts.
A glyph for U+1E9A (LATIN SMALL LETTER A WITH RIGHT HALF RING) is
displayed, but fontconfig says that DejaVu Sans Mono doesn't have such
a glyph. This seems to be correct, this chart also shows no glyph for
codepoint U+1E9A:
<http://www.fonts2u.com/dejavu-sans-mono-bold.font?charmap=53>
Screenshot from a more recent gucharmap 3.18.2:
<http://micha.freeshell.org/tmp/2016-07-15_gucharmap_GTK3_DejaVu_Sans_Mono.png>
No glyph is displayed for U+1E9A.
Supersede:
Marked glyph U+1E64 (LATIN CAPITAL LETTER S WITH ACUTE AND DOT ABOVE)
and the following 3 glyphs are rendered wrong too. It's no surprise that
fontconfig says "not present" for these 4 glyphs:
|
| 001e: ff0fffff ffff3fff fff03fff f3ffff0f 8bffffff 33c33003 3f003cc0 033fcf3f
^
Looks like gucharmap is not a solution for the check "is a glyph for
codepoint x present in font y".
Technical Details
Message-ID:
<AABXiRXSF8YAAAvc.A1.flnews@WStation5.stz-e.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<nli1e8$hi6$1@news.mixmin.net> <AABXfqRQKo8AAEas.A1.flnews@WStation4.micha.freeshell.org> <nlmes8$oo3$2@news.albasani.net> <AABXf2MrD54AAAfO.A1.flnews@WStation5.stz-e.de> <nlobd6$eij$1@news.albasani.net> <AABXf8FmZmAAADMv.A1.flnews@WStation5.stz-e.de> <nlu497$e1t$1@justacineast.motzarella.org> <AABXg26LHmoAAA80.A1.flnews@WStation5.stz-e.de> <8rvhm2iwm3r5$.1rx0y710bzqpv$.dlg@40tude.net> <AABXhLSbLEAAABYb.A1.flnews@WStation5.stz-e.de> <1ldazkv3snk57.1esf7pd9mb399$.dlg@40tude.net> <AABXhhOzaT0AAAdg.A1.flnews@WStation5.stz-e.de> <159hdy6c7ud30.ayfl7s1oi3gc.dlg@40tude.net> <AABXh15wK74AABXd.A1.flnews@WStation5.stz-e.de> <AABXh5efK8EAABXd.A1.flnews@WStation5.stz-e.de> <mf62xs5nh92j$.dlg@b.rose.tmpbox.news.arcor.de> <AABXh68WK8UAABXd.A1.flnews@WStation5.stz-e.de> <tyu2ibv2k6c8$.dlg@b.rose.tmpbox.news.arcor.de> <AABXiKglF7wAAAvc.A1.flnews@WStation5.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <AABXiRXSF8YAAAvc.A1.flnews@WStation5.stz-e.de> Subject: Re: [Fonts] Checking glyph population Date: Fri, 15 Jul 2016 18:56:50 +0200 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <nli1e8$hi6$1@news.mixmin.net> <AABXfqRQKo8AAEas.A1.flnews@WStation4.micha.freeshell.org> <nlmes8$oo3$2@news.albasani.net> <AABXf2MrD54AAAfO.A1.flnews@WStation5.stz-e.de> <nlobd6$eij$1@news.albasani.net> <AABXf8FmZmAAADMv.A1.flnews@WStation5.stz-e.de> <nlu497$e1t$1@justacineast.motzarella.org> <AABXg26LHmoAAA80.A1.flnews@WStation5.stz-e.de> <8rvhm2iwm3r5$.1rx0y710bzqpv$.dlg@40tude.net> <AABXhLSbLEAAABYb.A1.flnews@WStation5.stz-e.de> <1ldazkv3snk57.1esf7pd9mb399$.dlg@40tude.net> <AABXhhOzaT0AAAdg.A1.flnews@WStation5.stz-e.de> <159hdy6c7ud30.ayfl7s1oi3gc.dlg@40tude.net> <AABXh15wK74AABXd.A1.flnews@WStation5.stz-e.de> <AABXh5efK8EAABXd.A1.flnews@WStation5.stz-e.de> <mf62xs5nh92j$.dlg@b.rose.tmpbox.news.arcor.de> <AABXh68WK8UAABXd.A1.flnews@WStation5.stz-e.de> <tyu2ibv2k6c8$.dlg@b.rose.tmpbox.news.arcor.de> <AABXiKglF7wAAAvc.A1.flnews@WStation5.stz-e.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Supersedes: <AABXiRMUF8QAAAvc.A1.flnews@WStation5.stz-e.de> Lines: 74 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net LTJu4toKk2t0KjyU9Ohc7woAk7FqQ5AzjYo7vovv6wI5fcxpWM X-Orig-Path: not-for-mail Cancel-Lock: sha1:l6vW2R0fz21BPpT5G25x9berlxg= sha1:bzBWmKl3Fh/dYFoFYRbBtb69uXA= Cancel-Key: sha1:iMB2/dHvzcidQEt45D7oHrsPEus= sha1:B9/P6xYKIu5KEtLmvjyFrvXwMuA= Injection-Date: Fri, 15 Jul 2016 16:56:50 -0000 User-Agent: flnews/0.14pre45 (for NetBSD) X-Received-Bytes: 5083 X-Received-Body-CRC: 448188191