* [NTG-context] Font version parse question
@ 2024-03-07 18:36 Rik Kabel
2024-03-07 19:35 ` [NTG-context] " Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Rik Kabel @ 2024-03-07 18:36 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 690 bytes --]
Hello all,
The font tweak file libertinus_math.lfg tests for a font version of
*7.040*, but the result of the version parse is *7.040;RELEASE*,
resulting in an error message. I do not know if this is the fault of the
parser or of the font metadata. Changing the test in the .lfg file fixes
the error, but that is not a long-term solution.
The exact message I get in the log is:
mathematics > tweak > 'LibertinusMath-Regular', size 10, math
size 0, version 'Version, 7.040;RELEASE' found, version 'Version
7.040' expected
This is not a high-priority issue for me -- I have nothing in this
document that would benefit -- but others may appreciate a fix.
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 1000 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* [NTG-context] Re: Font version parse question
2024-03-07 18:36 [NTG-context] Font version parse question Rik Kabel
@ 2024-03-07 19:35 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2024-03-07 19:35 UTC (permalink / raw)
To: Rik Kabel, mailing list for ConTeXt users
On 3/7/2024 7:36 PM, Rik Kabel wrote:
> Hello all,
>
> The font tweak file libertinus_math.lfg tests for a font version of
> *7.040*, but the result of the version parse is *7.040;RELEASE*,
> resulting in an error message. I do not know if this is the fault of the
> parser or of the font metadata. Changing the test in the .lfg file fixes
> the error, but that is not a long-term solution.
>
> The exact message I get in the log is:
>
> mathematics > tweak > 'LibertinusMath-Regular', size 10, math
> size 0, version 'Version, 7.040;RELEASE' found, version 'Version
> 7.040' expected
>
> This is not a high-priority issue for me -- I have nothing in this
> document that would benefit -- but others may appreciate a fix.
Unless we have a crash it's just a warning, more for Mikael and me so
that we know when to check. One cannot rely on a version being a number,
so who knows what to test. Consistency, also within a font family is
often an issue.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-07 19:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07 18:36 [NTG-context] Font version parse question Rik Kabel
2024-03-07 19:35 ` [NTG-context] " Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).