<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 5, 2021 at 11:03 AM Harald Koenig <<a href="mailto:harald@mailbox.org">harald@mailbox.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Oct 02, Norbert Preining wrote:<br>
<br>
> Agreed. Concerning cmdline, I fear no .. lintian does something as<br>
> follows in perl for opentype, see<br>
> <a rel="noreferrer">https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Fonts/Opentype.pm</a><br>
> (and Truetype.pm for a similar code)<br>
> <br>
> const my $PERMISSIONS_MASK => 0x0f;<br>
> const my $NEVER_EMBED_FLAG => 0x02;<br>
> const my $PRINT_PREVIEW_ONLY_FLAG => 0x04;<br>
> const my $EDIT_ONLY_FLAG => 0x08;<br>
<br>
any idea what flag bit 0x01 is used for ?<br>
and what's the idea of "EDIT_ONLY_FLAG" for fonts ?<br>
<br></blockquote><div><br></div>According to the OTspec (<a href="https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fstype">https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fstype</a>) 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".</div><div><br></div><div>I suspect that the confusion of the _ONLY label is just due to sub-optimal naming; I don't think the specification upstream matches that, semantically.<br></div><div>Nate<br></div><div>-- </div><div dir="ltr" class="gmail_signature"><div dir="ltr">nathan.p.willis<br><a href="mailto:nwillis@glyphography.com" target="_blank">nwillis@glyphography.com</a><a href="http://identi.ca/n8" target="_blank"></a></div></div></div>