* [ibmplex setup script] @ 2020-05-02 22:20 Floris van Manen 2020-05-03 8:49 ` Wolfgang Schuster 0 siblings, 1 reply; 7+ messages in thread From: Floris van Manen @ 2020-05-02 22:20 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 617 bytes --] At present the ibmplexmonothin font is seen by the mtxrun script mtxrun --script fonts --list --all --pattern=ibmplexmonothin* identifier familyname fontname filename subfont instances ibmplexmonothin ibmplexmono ibmplexmonothin /home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex Mono/IBM_Plex_Mono_Thin.otf ibmplexmonothinitalic ibmplexmono ibmplexmonothinitalic /home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex Mono/IBM_Plex_Mono_Thin_Italic.otf But I don't manage to get the monothin variants loaded. Any hints available? Thanks .Floris [-- Attachment #2: pEpkey.asc --] [-- Type: application/pgp-keys, Size: 2456 bytes --] [-- Attachment #3: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ibmplex setup script] 2020-05-02 22:20 [ibmplex setup script] Floris van Manen @ 2020-05-03 8:49 ` Wolfgang Schuster 2020-05-03 9:24 ` Floris van Manen 2020-05-03 11:36 ` Floris van Manen 0 siblings, 2 replies; 7+ messages in thread From: Wolfgang Schuster @ 2020-05-03 8:49 UTC (permalink / raw) To: mailing list for ConTeXt users, Floris van Manen Floris van Manen schrieb am 03.05.2020 um 00:20: > > At present the ibmplexmonothin font is seen by the mtxrun script > > mtxrun --script fonts --list --all --pattern=ibmplexmonothin* > identifier familyname fontname filename > subfont instances > > ibmplexmonothin ibmplexmono ibmplexmonothin > /home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex > Mono/IBM_Plex_Mono_Thin.otf > ibmplexmonothinitalic ibmplexmono ibmplexmonothinitalic > /home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex > Mono/IBM_Plex_Mono_Thin_Italic.otf > > But I don't manage to get the monothin variants loaded. > Any hints available? Comes already comes with typescript for IBM Plex and you either load one of the predefined setups or create your own combination. \usetypescriptfile[ibmplex] % Load IBM Plex with the regular width % \setupbodyfont[ibmplex] % Load IBM Plex with the thin width %\setupbodyfont[ibmplex-thin] % Custom setup with regular for serif and sans serif % but thin as default for monospaced \definetypeface [ibmplex] [rm] [serif] [ibmplex] [default] \definetypeface [ibmplex] [ss] [sans] [ibmplex] [default] \definetypeface [ibmplex] [tt] [mono] [ibmplex-thin] [default] \definetypeface [ibmplex] [mm] [math] [pagella] [default] \setupbodyfont [ibmplex] \starttext \rm \tf Regular, \it Italic, \bf Bold and \bi Bolditalic \tt \tf Regular, \it Italic, \bf Bold and \bi Bolditalic \stoptext Wolfgang ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ibmplex setup script] 2020-05-03 8:49 ` Wolfgang Schuster @ 2020-05-03 9:24 ` Floris van Manen 2020-05-03 11:36 ` Floris van Manen 1 sibling, 0 replies; 7+ messages in thread From: Floris van Manen @ 2020-05-03 9:24 UTC (permalink / raw) To: Wolfgang Schuster, mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 533 bytes --] Thank you Wolfgang! Your example works as intended. I really get lost in the font definition files, as it is difficult to understand which variable point to what other definition. Is there a (simple) picture where the scripts are annotated with arrows, to know which variable points to where? All the way back to the mtxrun --script fonts --list --all --pattern=* reply? With all the options available it is a steep learning curve, but i hope to be able to understand it at some point. Thanks for the working solution. .Floris [-- Attachment #2: pEpkey.asc --] [-- Type: application/pgp-keys, Size: 2456 bytes --] [-- Attachment #3: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ibmplex setup script] 2020-05-03 8:49 ` Wolfgang Schuster 2020-05-03 9:24 ` Floris van Manen @ 2020-05-03 11:36 ` Floris van Manen 2020-05-03 15:20 ` Henning Hraban Ramm 1 sibling, 1 reply; 7+ messages in thread From: Floris van Manen @ 2020-05-03 11:36 UTC (permalink / raw) To: Wolfgang Schuster, mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 481 bytes --] Hello Wolfgang, On 03-05-2020 10:49, Wolfgang Schuster wrote: > % Load IBM Plex with the regular width > > % \setupbodyfont[ibmplex] > > % Load IBM Plex with the thin width > > %\setupbodyfont[ibmplex-thin] A quick follow-up question. Apparently the thin/bold/italics combination does not work. I assume this is defined in a ibmplex-thin file somwhere. If so, where is that file located? What is the formula to derive ibmplex-thin from the underlying font files? .Floris [-- Attachment #2: pEpkey.asc --] [-- Type: application/pgp-keys, Size: 2456 bytes --] [-- Attachment #3: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ibmplex setup script] 2020-05-03 11:36 ` Floris van Manen @ 2020-05-03 15:20 ` Henning Hraban Ramm 2020-05-03 16:24 ` Floris van Manen 0 siblings, 1 reply; 7+ messages in thread From: Henning Hraban Ramm @ 2020-05-03 15:20 UTC (permalink / raw) To: mailing list for ConTeXt users > Am 03.05.2020 um 13:36 schrieb Floris van Manen <vm@klankschap.nl>: > > Hello Wolfgang, > > > On 03-05-2020 10:49, Wolfgang Schuster wrote: >> % Load IBM Plex with the regular width >> >> % \setupbodyfont[ibmplex] >> >> % Load IBM Plex with the thin width >> >> %\setupbodyfont[ibmplex-thin] > > > A quick follow-up question. > > Apparently the thin/bold/italics combination does not work. > I assume this is defined in a ibmplex-thin file somwhere. > If so, where is that file located? > What is the formula to derive ibmplex-thin from the underlying font files? If you can’t handle find | grep, you can use the source browser: https://source.contextgarden.net/?search=ibmplex-thin and you’ll find type-imp-plex.mkiv: https://source.contextgarden.net/tex/context/fonts/mkiv/type-imp-plex.mkiv?search=ibmplex-thin in there are the typescripts for all the weights. And there’s actually a bug in the setup for light-bolditalic: \edefinefontsynonym [\typescriptprefix{\typescriptone}\s!Bold] [\s!file:\typescriptprefix{n:plex\typescriptone}-light] [\s!features=\typescriptprefix{f:plex\typescriptone}] \edefinefontsynonym [\typescriptprefix{\typescriptone}\s!BoldItalic] [\s!file:\typescriptprefix{n:plex\typescriptone}-light] [\s!features=\typescriptprefix{f:plex\typescriptone}] That should be -lightitalic Best, Hraban ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ibmplex setup script] 2020-05-03 15:20 ` Henning Hraban Ramm @ 2020-05-03 16:24 ` Floris van Manen 2020-05-03 17:01 ` Wolfgang Schuster 0 siblings, 1 reply; 7+ messages in thread From: Floris van Manen @ 2020-05-03 16:24 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 382 bytes --] I noticed that the same font test with the same lmtx versions on two different linux machines with the same ibmplex fonts installed, return a different rendering for the bold-italic. That is only one produces the italics, the other doesn't. I guess that is an example of true software magic, or yet another evidence that one observation will invert the result of the other ;-) .F [-- Attachment #2: Screenshot from 2020-05-03 18-19-40.png --] [-- Type: image/png, Size: 65152 bytes --] [-- Attachment #3: pEpkey.asc --] [-- Type: application/pgp-keys, Size: 2456 bytes --] [-- Attachment #4: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ibmplex setup script] 2020-05-03 16:24 ` Floris van Manen @ 2020-05-03 17:01 ` Wolfgang Schuster 0 siblings, 0 replies; 7+ messages in thread From: Wolfgang Schuster @ 2020-05-03 17:01 UTC (permalink / raw) To: mailing list for ConTeXt users, Floris van Manen Floris van Manen schrieb am 03.05.2020 um 18:24: > I noticed that the same font test with the same lmtx versions on two > different linux machines with the same ibmplex fonts installed, return a > different rendering for the bold-italic. > That is only one produces the italics, the other doesn't. > > I guess that is an example of true software magic, > or yet another evidence that one observation will invert the result of > the other ;-) Even with this example: \definefontfamily [mainface] [rm] [IBM Plex Serif] %\definefontfamily [mainface] [rm] [IBM Plex Serif] % [tf=file:ibmplexserifthin, % it=file:ibmplexserifthinitalic, % bf=file:ibmplexserifregular, % bi=file:ibmplexserifitalic] \definefontfamily [mainface] [ss] [IBM Plex Sans] %\definefontfamily [mainface] [ss] [IBM Plex Sans] % [tf=file:ibmplexsansthin, % it=file:ibmplexsansthinitalic, % bf=file:ibmplexsansregular, % bi=file:ibmplexsansitalic] %\definefontfamily [mainface] [tt] [IBM Plex Mono] [features=none] \definefontfamily [mainface] [tt] [IBM Plex Mono] [features=none, tf=file:ibmplexmonothin, it=file:ibmplexmonothinitalic, bf=file:ibmplexmonoregular, bi=file:ibmplexmonoitalic] \definefontfamily [mainface] [mm] [TeX Gyre Bonum Math] \setupbodyfont[mainface] \starttext \rm \tf Regular, \it Italic, \bf Bold and \bi Bolditalic \ss \tf Regular, \it Italic, \bf Bold and \bi Bolditalic \tt \tf Regular, \it Italic, \bf Bold and \bi Bolditalic \stoptext Wolfgang ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-05-03 17:01 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-05-02 22:20 [ibmplex setup script] Floris van Manen 2020-05-03 8:49 ` Wolfgang Schuster 2020-05-03 9:24 ` Floris van Manen 2020-05-03 11:36 ` Floris van Manen 2020-05-03 15:20 ` Henning Hraban Ramm 2020-05-03 16:24 ` Floris van Manen 2020-05-03 17:01 ` Wolfgang Schuster
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).