unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: font-backend branch
Date: Fri, 02 May 2008 12:30:08 +0100	[thread overview]
Message-ID: <481AFB40.1050205@gnu.org> (raw)
In-Reply-To: <E1Jrsvd-0007WA-A3@etlken.m17n.org>

Kenichi Handa wrote:
> To understand why a correct font can't be used on Windows, I
> must track the code of fontset by gdb, but at the moment, I
> can't build Emacs correctly on Windows even with these gcc
> and gmake:
>   

At which point is the build failing now? It might simplify things to 
copy your lisp directory from another plaform to avoid the need to 
bootstrap, as that is where most subtle problems with Windows build 
environments come up.

I think I have fixed the font selection problem, by adding code to copy 
the entries from font_entity to the new font_object in 
w32font_open_internal.

Now there is one remaining problem that I can see. When no font is found 
for some characters, display on that line is corrupted. The first time 
such a problem is encountered, all characters in the default face on 
that line are corrupted (I think this is caused by hitting a problem 
getting the glyph code, so code in w32font_encode_char decides to switch 
to using Unicode output for that font from that point on, so any glyphs 
that have already been encoded but not yet displayed are invalidated - 
the code was designed like this because for non-truetype fonts, and on 
older versions of Windows, it is not possible to get a glyph code, but I 
did not expect it to fail for a font where it had previously succeeded). 
After that, there is always a garbage character following the boxes that 
indicate a missing font. If the cursor is anywhere on the line, then the 
garbage character changes, at the same rate the cursor is blinking at.






  reply	other threads:[~2008-05-02 11:30 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30  4:24 font-backend branch Kenichi Handa
2008-04-30  6:04 ` Stefan Monnier
2008-04-30  7:39   ` Kenichi Handa
2008-04-30 11:38 ` Juanma Barranquero
2008-04-30 13:12   ` Kenichi Handa
2008-04-30 13:47     ` Juanma Barranquero
2008-04-30 16:38 ` Eli Zaretskii
2008-04-30 20:23 ` Glenn Morris
2008-04-30 21:11   ` Glenn Morris
2008-04-30 21:28     ` Glenn Morris
2008-05-01  1:01   ` Kenichi Handa
2008-04-30 23:48 ` Jason Rumney
2008-05-01  0:24   ` Jason Rumney
2008-05-02 10:55   ` Kenichi Handa
2008-05-02 11:30     ` Jason Rumney [this message]
2008-05-02 11:42       ` Jason Rumney
2008-05-02 12:16       ` Kenichi Handa
2008-05-02 13:27         ` Jason Rumney
2008-05-04  0:05           ` Kenichi Handa
2008-05-04  0:57             ` Stefan Monnier
2008-05-04 11:52               ` Kenichi Handa
2008-05-04 14:46                 ` Jason Rumney
2008-05-05  0:58                   ` Stefan Monnier
2008-05-06 11:25                     ` Kenichi Handa
2008-05-07  1:53                       ` Stefan Monnier
2008-05-14 13:31                       ` Font not found Robert J. Chassell
2008-05-15  3:39                         ` Kenichi Handa
2008-05-15 12:27                           ` Robert J. Chassell
2008-05-06 11:16                   ` font-backend branch Kenichi Handa
2008-05-04 14:14               ` Jason Rumney
2008-05-04 14:08             ` Jason Rumney
2008-05-01  3:54 ` Glenn Morris
2008-05-01  6:27   ` Kenichi Handa
2008-05-01  7:07     ` Glenn Morris
2008-05-01  7:21       ` Kenichi Handa
2008-05-01  7:28         ` Glenn Morris
2008-05-01 15:20           ` Kenichi Handa
2008-05-01 17:52             ` Glenn Morris
2008-05-02  0:22               ` Kenichi Handa
2008-05-01  8:00     ` Kenichi Handa
2008-05-02  1:14       ` James Cloos
2008-05-02  2:15         ` Kenichi Handa
2008-05-02  8:16           ` Jason Rumney
2008-05-04 22:00           ` Jason Rumney
2008-05-05 10:14 ` Florian Beck

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=481AFB40.1050205@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).