all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ilya Zakharevich <ilya@math.berkeley.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 19993@debbugs.gnu.org
Subject: bug#19993: 25.0.50; Unicode fonts defective on Windows
Date: Sun, 8 Mar 2015 09:20:17 -0700	[thread overview]
Message-ID: <20150308162017.GC5456@math.berkeley.edu> (raw)
In-Reply-To: <83ioeblc7f.fsf@gnu.org>

On Sun, Mar 08, 2015 at 05:51:16PM +0200, Eli Zaretskii wrote:
> > What is actually supported:
> > 
> >   0400 - 04FF    Everything but 04d8,04d9 (Schwa, used in Cyrillic Azeri — but 
> > contemporary Azeri is written in Latin) 
> >   0500 - 052F    Only 0500 - 0513, 051a - 051d supported
> >   2DE0 - 2DFF    None supported (5.1)
> >   A640 - A69F    None supported (5.1 and later)
> 
> FWIW, on one system I use frequently (a pretty standard Windows 7
> machine), the last two blocks are not supported by any font.  Likewise
> on another system, an XP with a lot of additional fonts installed.
> But if I install GNU Unifont, then Emacs does use it for these blocks.
> So somehow we do TRT in some situations.  Maybe these subranges are
> just a filter?

BTW, using Unifont from unifondry is asking for trouble.  And here I
do not mean just your eyes (it may be good at 16pt), but the fact that
it won’t interact with any other font — it claims glyphs for all the
characters in all the ranges — even if it does not know the correct glyph.

My build (“Unifont Smooth” on ilyaz.org/fonts) is properly behaving
(at least in this regard) — and is much better for eyes in all the
resolutions.

> > Does it look like a good indication of anything?  I would say no… Do
> > you know any other tool looking at this bitmap for choosing which font
> > to pick up for a particular character?
> 
> I guess by "tool" you mean a technique or algorithm that uses the font
> data for selecting the appropriate font?  If so, no, I know very
> little in this area, on Windows or elsewhere.  Enumerating all the
> glyphs would work, but is probably prohibitively expensive.

Enumerating all the glyphs is exactly how all the tools I know
work — at least those which can show all the characters which can be
shown on a system.

And so far, on Windows I found one such tool (of those not using
fontconfig, like mplayer):

 firefox with user’s customizations from
   http://search.cpan.org/~ilyaz/UI-KeyboardLayout/lib/UI/KeyboardLayout.pm#There_is_no_way_to_show_Unicode_contents_on_Windows

    (Currently, these instructions are not reflecting the fact that
     Unifont Smooth became well-behaving, so may be used as a
     substitution font too.)

Ilya





  reply	other threads:[~2015-03-08 16:20 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 22:02 bug#19993: 25.0.50; Unicode fonts defective on Windows Ilya Zakharevich
2015-03-04 17:59 ` Eli Zaretskii
2015-03-05 21:49   ` Ilya Zakharevich
2015-03-05 22:05   ` Ilya Zakharevich
2015-03-06 10:45     ` Eli Zaretskii
2015-03-06 11:38       ` Ilya Zakharevich
2015-03-06 14:00         ` Eli Zaretskii
2015-03-06 16:21           ` Ilya Zakharevich
2015-03-06 20:11             ` Eli Zaretskii
2015-03-06 21:12               ` Eli Zaretskii
2015-03-06 22:13                 ` Ilya Zakharevich
2015-03-07  8:18                   ` Eli Zaretskii
2015-03-08  7:45                     ` Ilya Zakharevich
2015-03-08 15:52                       ` Eli Zaretskii
2015-03-08  8:38                     ` Ilya Zakharevich
2015-03-08  8:46                       ` Ilya Zakharevich
2015-03-10 16:29                         ` Ilya Zakharevich
2015-03-10 17:05                           ` Eli Zaretskii
2015-03-10 17:41                             ` Eli Zaretskii
2015-03-10 20:32                               ` Ilya Zakharevich
2015-03-11  4:28                                 ` Eli Zaretskii
2015-03-11 19:49                               ` Ilya Zakharevich
2015-03-11 20:21                                 ` Eli Zaretskii
2015-03-12 18:16                                   ` Eli Zaretskii
2015-03-13  1:52                                     ` Ilya Zakharevich
2015-03-13  7:34                                       ` Eli Zaretskii
2015-03-13  4:50                                     ` Ilya Zakharevich
2015-03-13  6:16                                       ` Eli Zaretskii
2015-03-08 15:55                       ` Eli Zaretskii
2015-03-06 22:08               ` Ilya Zakharevich
2015-03-07  8:14                 ` Eli Zaretskii
2015-03-08  7:41                   ` Ilya Zakharevich
2015-03-08 15:51                     ` Eli Zaretskii
2015-03-08 16:20                       ` Ilya Zakharevich [this message]
2015-03-08 17:01                         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150308162017.GC5456@math.berkeley.edu \
    --to=ilya@math.berkeley.edu \
    --cc=19993@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.