From: Leah Neukirchen via ntg-context <ntg-context@ntg.nl>
To: Hans Hagen via ntg-context <ntg-context@ntg.nl>
Cc: Leah Neukirchen <leah@vuxu.org>
Subject: Re: LMTX: reimplementing texquotes as OTF feature
Date: Sat, 12 Nov 2022 15:57:56 +0100 [thread overview]
Message-ID: <87wn80jk3v.fsf@vuxu.org> (raw)
In-Reply-To: <1602c4fc-a707-634b-3bf5-4ccff24a5684@xs4all.nl> (Hans Hagen via ntg-context's message of "Fri, 11 Nov 2022 23:51:18 +0100")
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
Hans Hagen via ntg-context <ntg-context@ntg.nl> writes:
> can you show what is wrong and what it should be with
>
> fonts.handlers.otf.addfeature {
> name = "germantexlig",
> type = "ligature",
> data = {
> ['“'] = { "`", "`" },
> ['”'] = { "'", "'" },
> ['„'] = { '"', "`" },
> ['“'] = { '"', "'" },
> ['‘'] = { "`" },
> ['’'] = { "'" }
> }
> }
Since `` and "' map to the same character, only "' works.
The table has only 5 entries, not 6! (This took me a while to realize. ;))
> best not use an existign feature because we accumulate ... features
> come in order (you can force order if needed as you probably saw in
> one of the test files)
>
> \definefontfeature[ltest][germantexlig=yes,trep=no] \addff{ltest}
I think "texlig" and "texsub" aren't existing features. But even
renaming doesn't help.
I've attached the working Schola screenshot and the broken LModern
behavior.
[-- Attachment #2: 2022-11-12-155544_188x27_scrot.png --]
[-- Type: image/png, Size: 2175 bytes --]
[-- Attachment #3: 2022-11-12-155557_198x23_scrot.png --]
[-- Type: image/png, Size: 2256 bytes --]
[-- Attachment #4: Type: text/plain, Size: 67 bytes --]
--
Leah Neukirchen <leah@vuxu.org> https://leahneukirchen.org/
[-- Attachment #5: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2022-11-12 14:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-11 21:19 Leah Neukirchen via ntg-context
2022-11-11 22:51 ` Hans Hagen via ntg-context
2022-11-12 14:57 ` Leah Neukirchen via ntg-context [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wn80jk3v.fsf@vuxu.org \
--to=ntg-context@ntg.nl \
--cc=leah@vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).