Fonts prohibiting installable embedding

Harald Koenig harald at mailbox.org
Tue Oct 5 18:46:31 CEST 2021


On Oct 05, Nathan Willis wrote:

> > any idea what flag bit 0x01 is used for ?
> > and what's the idea of "EDIT_ONLY_FLAG" for fonts ?
> >
> According to the OTspec (
> https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fstype) the
> "edit only" option means that a font (a) can be embedded in a document and
> (b) can subsequently be transiently loaded onto a system opening the
> document to edit the document. That's in contrast to "can be transiently
> loaded onto a system for read-only usage of the document".

thanks for that pointer!

the MS specs for that 4 bit permissions field also say:

       Valid fonts must set at most one of bits 1, 2 or 3;
       bit 0 is permanently reserved and must be zero.
       Valid values for this sub-field are 0, 2, 4 or 8.


the fonts with these permission bits are a bit "invalid":

	$ grep 00001100 otf-embed.flags-1s
	      3 00000000 00000110
	    259 00000000 00001100

so it's worth talking to the font authors anyway...



and some more cli statistics:

49 of them are created or converted with FontForge

	$ grep 00001100 otf-embed.flags-1s | cut -d\> -f2 | xargs otfinfo -i  | grep -i 'Unique ID: *FontForge' -c
	49


and 209 fonts from the polish GUST TeX friends are generated with the help of makeotf.lib in different versions:

	$ grep 00001100 otf-embed.flags-1s | cut -d\> -f2 | xargs otfinfo -i  | grep makeotf -c
	209

	$ grep 00001100 otf-embed.flags-1s | cut -d\> -f2 | xargs otfinfo -i  | grep makeotf | cut -d: -f2- |sort | uniq -c
	      2 Version:             Version 1.000;PS 0.91;hotconv 1.0.49;makeotf.lib2.0.14853
	     40 Version:             Version 1.000;PS 0.995;hotconv 1.0.49;makeotf.lib2.0.14853
	     16 Version:             Version 1.011;PS 2.08;Core 1.0.38;makeotf.lib1.6.5960
	     40 Version:             Version 1.101;PS 1.101;hotconv 1.0.49;makeotf.lib2.0.14853
	      1 Version:             Version 2.003;PS 2.003;hotconv 1.0.49;makeotf.lib2.0.14853
	    101 Version:             Version 2.004;PS 2.004;hotconv 1.0.49;makeotf.lib2.0.14853
	      9 Version:             Version 2.005;PS 2.005;hotconv 1.0.49;makeotf.lib2.0.14853

	$ grep 00001100 otf-embed.flags-1s | cut -d\> -f2 | xargs otfinfo -i  | grep makeotf  | cut -d: -f1 | xargs otfinfo -i | cut -d: -f2- | grep Copyright: | tr -d 0-9 | sort | uniq -c
	     16 Copyright:           Copyright  , Design by Zygfryd Gardzielewski. Digitized by Janusz M. Nowacki.
	     40 Copyright:           Copyright (c) ,  Design by Malgorzata Budyta - , Warszawa, Poland Digitized by Janusz Marian Nowacki - -, Grudziadz, Poland This work is released under the GUST Font License --  see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.
	      2 Copyright:           Copyright (c) ,  Digitized by Janusz M. Nowacki - -, Grudziadz, Poland This work is released under the GUST Font License --  see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.
	    112 Copyright:           Copyright ,  B. Jackowski and J. M. Nowacki (on behalf of TeX users groups). This work is released under the GUST Font License --  see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.
	     39 Copyright:           Copyright ,  for TeX Gyre extensions by B. Jackowski and J.M. Nowacki (on behalf of TeX users groups). This work is released under the GUST Font License --  see http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt for details.



Harald
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
                                                       \/\/\/\/\/\/\/\/\/
Harald Koenig                                           //  /     \\  \
harald.koenig at mailbox.org                              ^^^^^       ^^^^^


More information about the tex-live mailing list.