font lookup code disabled on non-Linux unices

Bug #546834 reported by Jakub Wilk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aafigure
Fix Committed
Medium
Unassigned

Bug Description

Hello,

font_by_name() calls _find_font() only on Linux systems (but not on other Unix systems). The attached patch fixes this bug.

Revision history for this message
Jakub Wilk (jwilk) wrote :
Revision history for this message
Oliver Joos (oliver-joos) wrote :

Thanks for your report! Is the hard-coded path "/usr/share/fonts" really valid for all posix systems? Please provide a link to verify that.

Revision history for this message
Jakub Wilk (jwilk) wrote :

Not necessarily, but it's not necessarily "valid" for all Linuxes either.
/usr/share/fonts is however fairly standard location, e.g. it is default font path for fontconfig on non-Windows systems.

summary: - not lookup code disabled on non-Linux unices
+ font lookup code disabled on non-Linux unices
Changed in aafigure:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Oliver Joos (oliver-joos) wrote :

@Jakub: thanks for checking this! I just committed your patch.

Changed in aafigure:
status: Confirmed → Fix Committed
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.