Re: Tk Unicode is slow
- From: Keith Nash <kjn9@xxxxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 12:41:01 +0000
Thanks for the suggestions.
> As Donal noted, the delay is due to Tk doing a font lookup to
> find a suitable font for characters that are not recognized in
> the current font you have chosen to display. Use one with all
> the chars, and everything is fast. I have considered adding
> extra Tcl-level control over this fallback behavior, but it is
> hard to design a clean API to control this.
(...the feature requests keep rolling in...)
At the minimum, it would be useful if Tcl could be told to use the specified
font *only*, i.e. not to search every font on the system whenever it
encounters a missing glyph.
Ideally, one would be able to create a virtual font that borrows different
glyphs from different real fonts. It sounds as if this is what Tcl's font
lookup actually does - but it doesn't cache the virtual font metadata, and
it doesn't tell us what it is.
Thanks,
Keith.
.
- Follow-Ups:
- Re: Tk Unicode is slow
- From: Donal K. Fellows
- Re: Tk Unicode is slow
- From: Jeff Hobbs
- Re: Tk Unicode is slow
- References:
- Tk Unicode is slow
- From: Keith Nash
- Re: Tk Unicode is slow
- From: Bryan Oakley
- Re: Tk Unicode is slow
- From: Jeff Hobbs
- Tk Unicode is slow
- Prev by Date: Re: How to choose extensions of Tcl/Tk?
- Next by Date: when is it apt to use classes in preference to only arrays and lists
- Previous by thread: Re: Tk Unicode is slow
- Next by thread: Re: Tk Unicode is slow
- Index(es):
Relevant Pages
|