Re: Tk Unicode is slow



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.


.



Relevant Pages