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

Add suitable ssc font shape change rules #1581

Open
FrankMittelbach opened this issue Dec 11, 2024 · 1 comment
Open

Add suitable ssc font shape change rules #1581

FrankMittelbach opened this issue Dec 11, 2024 · 1 comment
Assignees
Labels
category base (latex) enhancement fixed in dev Fixed in development branch, not in stable release

Comments

@FrankMittelbach
Copy link
Member

Brief outline of the enhancement

The kernel conceptually supports ssc (spaced small caps) as a shape, something that is available in some commercial fonts and can also be artificially produced from existing otf files using otftotfm.

What is missing until now are any \DeclareFontShapeChangeRule declarations to really make use of that special shape.

Minimal example showing the current behaviour

\sscshape\itshape  % currently produces  "it"
\itshape\sscshape  % currently produces  "ssc" (if available else "n")

etc

Minimal example showing the desired new behaviour

\sscshape\itshape  % produces "sscit"
\itshape\sscshape  % produces "sscit"
@FrankMittelbach FrankMittelbach added this to the Release 2025 Spring milestone Dec 11, 2024
@FrankMittelbach FrankMittelbach self-assigned this Dec 11, 2024
@github-project-automation github-project-automation bot moved this to Pool (unscheduled issues) in upcoming LaTeX2e releases Dec 11, 2024
@FrankMittelbach FrankMittelbach changed the title Add suitable scc font shape change rules Add suitable ssc font shape change rules Dec 11, 2024
@FrankMittelbach
Copy link
Member Author

Also took the opportunity (since there is anyway a rollback) to provide better fallbacks for the sw shape, i.e., falling back to it is an sw combination is not available.

@FrankMittelbach FrankMittelbach moved this from Pool (unscheduled issues) to In progress in upcoming LaTeX2e releases Dec 11, 2024
FrankMittelbach added a commit that referenced this issue Dec 15, 2024
* typo

* rollback tests and documentation for #1581

* correct docs after review

* better align rule change arguments in the source

* Revert "better align rule change arguments in the source"

This reverts commit 47b167e.
FrankMittelbach added a commit that referenced this issue Dec 17, 2024
* typo

* rollback tests and documentation for #1581

* correct docs after review

* ltfssaxes from #1396

* ltnews41 and changes

* align series change rule arguments

* more rule cleanup and start of rollback support

* Full support

* wording

* Apply suggestions from code review

Co-authored-by: user227621 <[email protected]>

* more suggestions from review

* otf files do not end in .ttf :-)

* Apply suggestions from code review

Co-authored-by: user227621 <[email protected]>

* Apply suggestions from code review

Co-authored-by: user227621 <[email protected]>

* WIP

* Apply suggestions from code review

Co-authored-by: user227621 <[email protected]>

* more minor changes

* Apply suggestions from code review

Co-authored-by: user227621 <[email protected]>

* Update base/ltfssaxes.dtx

Co-authored-by: user227621 <[email protected]>

* that fix got lost during merge

* Update base/ltfssaxes.dtx

Co-authored-by: user227621 <[email protected]>

* Update base/ltfssaxes.dtx

Co-authored-by: user227621 <[email protected]>

* corrections by Chris

* re-add a rule

* grumble

* and, of course, my typical typo

* Apply suggestions from code review

Co-authored-by: user227621 <[email protected]>

* some further minor changes

* regen and cleanup of the rollback data (we don't need to roll back anything that hasn't changed between 2024 and 2020)

* Apply suggestions from code review

Co-authored-by: user227621 <[email protected]>

---------

Co-authored-by: user227621 <[email protected]>
@FrankMittelbach FrankMittelbach added fixed in dev Fixed in development branch, not in stable release and removed fixed in branch labels Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category base (latex) enhancement fixed in dev Fixed in development branch, not in stable release
Projects
Status: In progress
Development

No branches or pull requests

1 participant