[PATCH 0/1] [for Review] PostScript Names branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just posted a branch which includes support for caching and querying
fonts' PostScript names as the psnames branch of:

       git://people.freedesktop.org/~cloos/fontconfig.git psnames

 WHAT WORKS

Almost everything works.  Notably fc-{cache,cat,query,scan,list} all
Do The Right Thing.  Eg:

   :; fc-list :psname=LMRomanSlant12-Regular
   Latin Modern Roman Slanted,LM Roman Slanted 12:style=12 Regular,Regular

If you had a document which called for /LMRomanSlant12-Regular, the above
search -- or its library version -- will point you to the file.

 WHAT DOESN'T

Fc-match fails to return the desired font when given only a psname:

   :; ./fc-match/fc-match :psname=LMRomanSlant12-Regular
   DejaVuSans.ttf: "DejaVu Sans" "Book"

Presumably that the library version of that call fails in the same way.

I have not yet determined how to wire up fc-match(1) to return the
desired font when only the desired psname is known.

PSnames support has not been added to the DTD.

 WHAT IS UNTESTED

Everything to do with the xml.

 EPILOGUE

All that remains is to get fc-match(1) and the comparable library api to
find the right font -- or perhaps a list of matching fonts -- when only
the psname is provided, and to wire up the xml code to support psname in
the configuration files.

The patch is in the followup to this mail.

-JimC
-- 
James Cloos <cloos@xxxxxxxxxxx>         OpenPGP: 1024D/ED7DAEA6
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux