OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005074 [libgd2] regular use tweak always 2013-05-10 17:54 2013-05-10 22:41
Reporter Matthew Stier View Status public  
Assigned To dam
Priority normal Resolution open  
Status feedback  
Summary 0005074: Additional path to internal GDFONTPATH
Description I'd recommend changing the internal default of GDFONTPATH to prepend /etc/opt/csw/share/fonts/truetype since /etc/opt/csw is often used to override /opt/csw.
Additional Information Added symbolic links in the truetype directory to point to truetype fonts under /usr/openwin/lib with slight different names.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010379)
dam (administrator)
2013-05-10 18:18

The alternative (and now preferred) path /etc/opt/csw for overriding /opt/csw/etc has no correspondence at the moment to /opt/csw/share. Could you please explain the usecase? You could also add the symlinks to /opt/csw/share/fonts/truetype if necessary?
(0010380)
Matthew Stier (reporter)
2013-05-10 19:13

I originally went with creating /opt/csw/share/fonts/truetype (fonts/truetype does not normally exist) and putting in symbolic links for 'arial.ttf' and 'Time-Roman.ttf' to resolve an issue with an application.

Since I would be replicating this to a number of other systems, I thought it best to follow standard practice and moved the local changes to /etc/opt/csw.

Since the libgd.so library only had an entry for /opt/csw/share/fonts/truetype, I created a symbolic at /opt/csw/share/fonts, pointing to /etc/opt/csw/share/fonts.
(0010381)
dam (administrator)
2013-05-10 21:50

So you are replication /opt/csw as a whole with NFS or similar? I would figure the font setting are the same on all machines. I am also thinking of appending /usr/openwin/lib/X11/fonts/TrueType. Do you have other suggestions on how to enhance usefulness?
(0010382)
Matthew Stier (reporter)
2013-05-10 22:41

Actually, OpenCSW doesn't lend itself well to sharing or copying. I install pkgutil on each system, and then install the packages I need on each system.

Actually, I'm thinking of what happens when I add or upgrade packages, and changes I've made within /opt/csw are destroyed, where as, the changes made under /etc/opt/csw are not.

BTW: Adding /usr/openwin/lib/X11/fonts/TrueType did not help me, because the font names I need were inconsistant. Solaris uses 'Arial.ttf', the application required 'arial.ttf'. Solaris uses 'TimesNewRoman.ttf', the application required 'Time-Roman.ttf'. By using symbolic links, was able to rename the files to what the application needed.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker