all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Font selection weirdness
Date: Thu, 29 May 2008 12:36:05 +0100	[thread overview]
Message-ID: <483E9525.1040001@gnu.org> (raw)
In-Reply-To: <f7ccd24b0805290400r6026540er2a28486efd16d77f@mail.gmail.com>

Juanma Barranquero wrote:

> where the props are [abbreviated]
>
> type: gdi
> foundry: outline
> family: Symbol
> name: "-outline-Symbol-normal-normal-normal-decorative-13-*-*-*-p-*-ms-symbol"
> format: type1
>   

On my system, Symbol shows up as an Opentype font, but it does not 
appear to contain a Unicode mapping table - the character set selector 
in Windows Character Map is greyed out, and selecting the "FOR ALL" 
character in Character Map (0x22) and copying it and pasting elsewhere 
results in ASCII 0x22 (") being pasted.
If I can figure out a way to determine such fonts when enumerating we 
can avoid tagging them as supporting Unicode and glyph points, the same 
way we do now with bitmap fonts.

> A weird thing: w32_font->font.glyph_index is 16 when entering
> compute_metrics, however code = 8704 (U+2200), which is not a glyph.
> Is that correct?
>   

I think that is due to the same problems as above. Perhaps 
GetCharacterPlacementW in w32font_encode_char did not return an error as 
expected, and just silently copied the Unicode code point to the glyph 
code point. Another posibility is that w32font_encode_char has not been 
called for that character yet, which would be a bug somewhere in Emacs.





  reply	other threads:[~2008-05-29 11:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26 10:48 Font selection weirdness Juanma Barranquero
2008-05-26 10:52 ` Juanma Barranquero
2008-05-26 12:36 ` Jason Rumney
2008-05-26 14:45   ` Juanma Barranquero
2008-05-26 20:33     ` Jason Rumney
2008-05-27  8:09       ` Juanma Barranquero
2008-05-27 16:10         ` Jason Rumney
2008-05-28 11:03           ` Juanma Barranquero
2008-05-29 11:00   ` Juanma Barranquero
2008-05-29 11:36     ` Jason Rumney [this message]
2008-05-29 15:19       ` Juanma Barranquero
2008-05-30 11:43         ` Juanma Barranquero

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=483E9525.1040001@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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.