font-family with multiple fonts should choose the first existing font

Bug #1065968 reported by Andreas Sommer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Tavmjong Bah

Bug Description

Example:

<text font-family="Calibri, Arial" ...>

In this case, Inkscape will show a warning icon and report the font "Calibri, Arial" to be missing from the system, instead of splitting the string by commas and searching for Calibri and Arial separately.

Tags: fonts svg text
jazzynico (jazzynico)
tags: added: fonts svg text
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape 0.48.3.1.
Not reproduced with trunk revision 11804. The font list show the whole list without warning, and the text object use the first available font in the list.

Note that the status bar sometimes shows the wrong font when selecting the text object with the selection tool.

Changed in inkscape:
milestone: none → 0.49
status: New → Fix Committed
Revision history for this message
Andreas Sommer (andidog) wrote :

Confirmed with latest trunk, thank you!

Revision history for this message
su_v (suv-lp) wrote :
Changed in inkscape:
assignee: nobody → Tavmjong Bah (tavmjong-free)
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.