PDF's generated by XeTeX and LuaTeX, font licensing
Reading through the license of a commercial font I'm interested in, I see it stipulated for PDF files created that: "... a reader or user cannot create new content using one of our fonts in a PDF application ... the complete font is not embedded" And in an email correspondence with the vendor: "We just ask that you subset the font when exporting the PDFs ..." Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way? Regards, John -- John Magolske http://B79.net/contact
On 08/17/2010 08:47 AM, John Magolske wrote:
Reading through the license of a commercial font I'm interested in, I see it stipulated for PDF files created that:
"... a reader or user cannot create new content using one of our fonts in a PDF application ... the complete font is not embedded"
And in an email correspondence with the vendor:
"We just ask that you subset the font when exporting the PDFs ..."
Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way?
Yes, this is the default. So unless you have manually interfered, the included fonts are always subsetted. Best wishes, Taco
What exactly does it mean to subset the fonts, when the fonts are included
in a PDF?
giulio
giulio bertellini
On Tue, Aug 17, 2010 at 8:47 AM, Taco Hoekwater
On 08/17/2010 08:47 AM, John Magolske wrote:
Reading through the license of a commercial font I'm interested in, I see it stipulated for PDF files created that:
"... a reader or user cannot create new content using one of our fonts in a PDF application ... the complete font is not embedded"
And in an email correspondence with the vendor:
"We just ask that you subset the font when exporting the PDFs ..."
Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way?
Yes, this is the default. So unless you have manually interfered, the included fonts are always subsetted.
Best wishes, Taco
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
Just included the used characters, not the whole font file.
Some of the other tables are also stripped down (not only the 'glyf' table), so that the embedded font is not complete. In fact, some programs will refuse to open the font if we extract it from the PDF, which is precisely the idea of a subsetted font (you can't use the PDF to retrieve the font). Arthur
On 17-8-2010 8:18, Arthur Reutenauer wrote:
Just included the used characters, not the whole font file.
Some of the other tables are also stripped down (not only the 'glyf' table), so that the embedded font is not complete. In fact, some programs will refuse to open the font if we extract it from the PDF, which is precisely the idea of a subsetted font (you can't use the PDF to retrieve the font).
I wonder about these webfonts .. the whole model is based on good will and no abuse .. it's a comparable issue. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, Aug 17, 2010 at 08:47:58AM +0200, Taco Hoekwater wrote:
On 08/17/2010 08:47 AM, John Magolske wrote:
Reading through the license of a commercial font I'm interested in, I see it stipulated for PDF files created that:
"... a reader or user cannot create new content using one of our fonts in a PDF application ... the complete font is not embedded"
And in an email correspondence with the vendor:
"We just ask that you subset the font when exporting the PDFs ..."
Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way?
Yes, this is the default. So unless you have manually interfered, the included fonts are always subsetted.
I'm interested in the other way around, how can I tell luatex (or context) to not subset the font, and I read that some recent version of PDF specification allow embedding of unchanged opentype fonts (as compared to converting them to type1 fonts), does luatex support (or plan to support) that feature? Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
On 08/17/2010 03:05 PM, Khaled Hosny wrote:
Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way?
Yes, this is the default. So unless you have manually interfered, the included fonts are always subsetted.
I'm interested in the other way around, how can I tell luatex (or context) to not subset the font,
\enabledirectives[fonts.embedall]
and I read that some recent version of PDF specification allow embedding of unchanged opentype fonts (as compared to converting them to type1 fonts), does luatex support (or plan to support) that feature?
In LuaTeX, we are not converting to Type1, OpenType fonts are always embedded as CID Type0C, Truetype as CID TrueType. But some OT tables are stripped for efficiency reasons (GSUB and GPOS, for example). Best wishes, Taco
On Tue, Aug 17, 2010 at 04:34:57PM +0200, Taco Hoekwater wrote:
On 08/17/2010 03:05 PM, Khaled Hosny wrote:
Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way?
Yes, this is the default. So unless you have manually interfered, the included fonts are always subsetted.
I'm interested in the other way around, how can I tell luatex (or context) to not subset the font,
\enabledirectives[fonts.embedall]
Thanks.
and I read that some recent version of PDF specification allow embedding of unchanged opentype fonts (as compared to converting them to type1 fonts), does luatex support (or plan to support) that feature?
In LuaTeX, we are not converting to Type1, OpenType fonts are always embedded as CID Type0C, Truetype as CID TrueType. But some OT tables are stripped for efficiency reasons (GSUB and GPOS, for example).
I can't tell a difference :) I'm just interested in being able to extract the full font from PDF with all tables and stuff (they are my fonts, so the legal side is sorted out), but I don't actually have a use case for that :) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
participants (7)
-
Arthur Reutenauer
-
Giulio Bertellini
-
Hans Hagen
-
Hongwen Qiu
-
John Magolske
-
Khaled Hosny
-
Taco Hoekwater