pdf-reader icon indicating copy to clipboard operation
pdf-reader copied to clipboard

Any support for Adobe Type 1 Font Format?

Open utensil opened this issue 12 years ago • 2 comments

When I run the example extract_fonts.rb for a pdf generated by pdfTeX, it complains:

unsupported font type Type1

I googled for Type1, it seems to be Adobe Type 1 Font Format( http://partners.adobe.com/public/developer/en/font/T1_SPEC.PDF ), a PostScript-like font format.

I wonder if there is any plan about supporting it?

utensil avatar Feb 16 '13 15:02 utensil

i'll happily accept a patch that adds support for type1 fonts to extract_fonts.rb, but I personally don't have time to add support in the short term.

yob avatar Feb 25 '13 11:02 yob

I had tried to export it and convert it to ttf according to the spec with partial success but:

  • adobe font type 1 is not a format directly supported by html5 web fonts, nor can it easily be converted to ttf by tools AFAIK, thus exporting the stream would be useless in my case
  • i partially parsed type 1 file, but it seems to be not quite helpful for me to present math symbols in the font file

i will keep working on it to see if anything eventually become useful.

utensil avatar Feb 26 '13 04:02 utensil