
On 2013-02-06 15:15 +0100, Josh Andler wrote:
On Wed, Feb 6, 2013 at 1:24 AM, Tavmjong Bah <tavmjong@...8...> wrote:
I've just checked in code that inserts a list of fonts (and font-fallback lists) that are in a document at the top of the font-family drop-down menu that is in the Text toolbar. The fonts that are in the document are rendered with a blue fill to help distinguish them from the normal list of fonts. If a font is not present on the users system, a red line is drawn on top of the font name.
Let me know what you think of this.
From what I can see, I think it's a great enhancement (haven't tried with a font that doesn't exist yet). The only thing I would suggest adding would be a divider line at the bottom of the list of specially recognized fonts (below the blue and I'm assuming red-lined section) that really adds an extra visual separation from the main list of not used fonts. Effectively the way most word processors do it.
The changes between r12104 and r12105 seem to increase launch time of inkscape trunk noticeably (it now takes longer than current stable): http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/12105
Tools: installed fonts count: 'fc-list | wc -l' timing of inkscape: 'time inkscape --verb=FileQuit' (multiple runs -> average of 'real' times)
Inkscape settings: Preferences: default (new) Icons: separate $XDG_CACHE_HOME for each tested revision (trunk)
On Ubuntu 12.10 (Unity, 64bit, VM), ~1500 fonts: stable 0.48.3.1 ~10 sec trunk r11087 ~ 8 sec trunk r12108 ~14 sec
On OS X 10.7 (64bit, X11 backend), ~2700 fonts: stable 0.48.4 ~13.5 sec trunk r12104 ~12.5 sec trunk r12105 ~20.5 sec
On OS X 10.7 (64bit, Quartz backend), ~1750 fonts: stable 0.48.4 ~10 sec trunk r12104 ~ 9 sec trunk r12105/8 ~14 sec
On OS X 10.5 (32bit, X11 backend), ~1300 fonts: stable 0.48.4 ~14 sec trunk r12104 ~13 sec trunk r12106/8 ~22 sec
Questions: - Can others reproduce these results? - How much of a concern are these increased launch times?