[XeTeX] Fwd: [wspr/fontspec] add optical bounds to fontspec (#282)
Will Robertson
will at wspr.io
Fri Mar 17 07:57:27 CET 2017
Hi,
(Forwarding this on on behalf of a fontspec user who would like a new feature. Not currently subscribed so please CC me directly if you have further comment.)
TL;DR: +lfbd feature works in XeTeX but +rtbd does not.
If there are further requests for fontspec OpenType feature support, please let me know via Github :)
All the best,
Will
> Begin forwarded message:
>
> From: Pablo Rodríguez <notifications at github.com>
> Subject: Re: [wspr/fontspec] add optical bounds to fontspec (#282)
> Date: 17 March 2017 at 5:18:33 am ACDT
>
> Will, sorry because I was so stupid not to recognize what I already knew.
>
> The following works in LuaTeX and (partially) in XeTeX from TL 2016:
>
> \input ifluatex.sty
> \ifluatex\input luaotfload.sty\fi
> \font\1="TestOPBD-Regular:+lfbd,+rtbd"
> \1 Ἠ
>
> Ἠ\hfill Ἠ
>
> Ἦ\hfill ὩὩ
>
> ἯἯ\hfill ὩὩ
> \bye
> Output from ConTeXt (sorry, but I don’t know how to get a reasonable page size in plain TeX):
>
> <https://cloud.githubusercontent.com/assets/203767/24013230/047699c2-0a81-11e7-87fa-ede28bcd08f4.png>
> What I knew: opbd is handled by the application, not by the font (which provides both lfbd and rtbd, but no opbd).
>
> To test both sides of optical margin, I added rtbd values to the font provided for testing at http://www.ousia.tk/TestOPBD-Regular.otf <http://www.ousia.tk/TestOPBD-Regular.otf>.
>
> The partial failure in XeTeX is that rtbd doesn’t seem to work.
>
> I’m not subscribed to the XeTeX mailing list. If you were, would you be so kind to report this issue there?
>
> I guess an option name such as OpticalBounds or OpticalMargins might make sense here.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20170317/1d619ed6/attachment.html>
More information about the XeTeX
mailing list