[MacPorts] #26897: gd2 default fontpath for OS X

MacPorts noreply at macports.org
Thu Jun 9 00:22:10 PDT 2011


#26897: gd2 default fontpath for OS X
-------------------------------------+--------------------------------------
 Reporter:  and.damore@…             |       Owner:  ryandesign@…           
     Type:  enhancement              |      Status:  new                    
 Priority:  Normal                   |   Milestone:                         
Component:  ports                    |     Version:  1.9.1                  
 Keywords:  libgd font path          |        Port:  gd2                    
-------------------------------------+--------------------------------------

Comment(by and.damore@…):

 That's due to r76048, reverting before that revision I get
 {{{
  gnuplot -e 'show fontpath'

         fontpath is
         system fontpath is "/usr/X11R6/lib/X11/fonts/Type1"
 }}}

 IIRC I was trying to configure properly gd2 in order to have all programs
 relying on it working properly, I eventually ended patching gnuplot
 because it explicitly populates its ''fontpath_tbl'' struct .


 With regards to this ticket the main difference we get with and without
 the patch is that gd2 library ends having a path adequate to OS X or not.

 Active version is patched, destrooted isn't:
 {{{
 gd2 $ strings work/destroot/opt/local/lib/libgd.2.dylib | grep /System
 gd2 $ strings /opt/local/lib/libgd.2.dylib | grep System
 /System/Library/Fonts:/Library/Fonts
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/26897#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list