Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Capitals and SizeFeatures #470

Open
2 of 4 tasks
KuznetsovAleksey opened this issue Jun 13, 2022 · 0 comments
Open
2 of 4 tasks

Small Capitals and SizeFeatures #470

KuznetsovAleksey opened this issue Jun 13, 2022 · 0 comments

Comments

@KuznetsovAleksey
Copy link

Description

SizeFeatures of SmallCapsFont are directly bound to SizeFeatures of UprightFont.

Check/indicate

  • Relevant for XeTeX
  • Relevant for LuaTeX
  • Issue tracker has been searched for similar issues?
  • Links to <tex.stackexchange.com> discussion if appropriate

Minimal example demonstrating the issue

I set different SizeFeatures for different fonts to tune width of letters of small and large sizes in cm-unicode fonts designed in a single size.

For example,

UprightFont= cmunrm,
 SizeFeatures={%
        {Size=-6,  FakeStretch= ..., LetterSpace= .... },
         .....
        {Size=17-, .... } 
	},
FontFace={m}{it}{ Font= cmunti, 
  SizeFeatures={%
        ....

Fonts of all shapes and series are correctly tuned in such a manner, excepting the medium SmallCapsFont font.

Neither
    FontFace={m}{sc}{ Font= cmunrm, Letters=SmallCaps,
      SizeFeatures={....
nor 
    SmallCapsFont= cmunrm,
    SmallCapsFeatures={ Letters=SmallCaps,
      SizeFeatures={....
work correctly. 
SizeFeatures of the UprightFont are used in any case.

At the same, all sizes are correctly set for bold fonts and ssc-shape
  FontFace={m}{ssc}{ ... 
  FontFace={b}{n}{ ... 
  FontFace={b}{sc}{ ... 
  FontFace={b}{ssc}{ ... 

Is it possible to "split" SizeFeatures of Upright and SmallCaps fonts?

Further details

The settings are made via XXX.fonspec files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant