font lookup code disabled on non-Linux unices

Bug #546834 reported by Jakub Wilk on 2010-03-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description


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

Jakub Wilk (jwilk) wrote :
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.

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
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  Edit
Everyone can see this information.

Other bug subscribers