On Thu, 8 Jan 2009 04:13:31 +0000 (UTC) [email protected] wrote:
| On Wed, 07 Jan 2009 13:36:56 +1000, Anthony Thyssen wrote: | | > This is a good enhancment, however can you change it to be a command | > line option instead. | > | > For example | > imagick_type_gen -d /path/to/my/fonts > my_type.xml | > | > Will create a type.xml for a specific directory | | hmm... I think the most important feature of my hack is *decoupling* of | the generation of font list and font registration. To me that's the most | important enhancement. | | For example, if to use -d, then how to add more directories? Moreover, | given the command above what if I only want to register the ttf fonts | under it, not pfb or afm ones? More options? what if I want to omit a | specific sub directory under /path/to/my/fonts? even more options? | | Decoupling the font list generation and font registration will eliminate | all the above problems and many more that I haven't listed. | Well I have not seen, and have not been able to find your actual code as yet. However by creating a personal type.xml file containing "include" entries. you can create as may secondary font defintion files as you like. For example on for each sub-directory in which you store fonts. The "type.xml" file that you create in the ".magick" sub-directory of your login home is one such secondary file suitable for adding fonts to. It looked for, but does not exist by default. But as it is in your home and owned by you, you don't even need root or superuser access to create or replace it! Anthony Thyssen ( System Programmer ) <[email protected]> ----------------------------------------------------------------------------- The early bird may get the worm, but the second mouse gets the cheese. ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
