On Thu, 2013-02-07 at 21:05 +0100, ~suv wrote:
The menu separator added in r12105/12106 looks great!
In the 'Text and Font' dialog though, the list of font families is currently out-of-sync with the font of the current selection: the inserted (duplicate) entries of used fonts at the top, and the separator item (listed as font 'separatoR') are not taken into consideration for the position of the selected/highlighted item in the list further down. Result: in the dialog, the hightlighted font family on the left and the preview at the bottom no longer match (preview is correct).
OK, this is going to take some time to fix properly. I'll need to move some of the code into the FontLister class so it can be used in both places. This is a better solution anyway in the long run.
Related feature request in the bug tracker:
- Bug #171456 “Preferred font list in font dialog”:
| In some applications, font dropdowns have a 'recently | used fonts' area at the top of the dropdown listing | fonts that have been used recently. This would be | useful with Inkscape, since on a system with a | non-trivial amount of fonts installed, it becomes | tedious to repeatedly scroll down to select a | particular font. | | This list should be taken from the set of fonts | actually used in the document.
https://bugs.launchpad.net/inkscape/+bug/171456
On 2013-02-06 15:15 +0100, Josh Andler wrote:
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.
Cheers, Josh
On Wed, Feb 6, 2013 at 1:24 AM, Tavmjong Bah <tavmjong@...8...> wrote:
Hi,
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.
Tav
Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel