Skip to content

OTF feature support (alternate figure styles, etc.) #16566

@dnadlinger

Description

@dnadlinger

Is there currently a backend that supports OTF GSUB features such as the choice between old style/lining figures?

I couldn't find a way to make this work, which is an issue for working with some "professional" fonts (e.g. FF Scala Sans Pro) that come with old style figures enabled by default.

Trawling the web, I found some references to HarfBuzz supporting specifying those with a colon after the font name, e.g. Scala Sans Pro:lnum in the above example. I couldn't make that work with the way matplotlib uses FreeType, though (haven't checked the source code yet).

I suppose I could use XeTeX via PGF, but that seems like a rather roundabout way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepItems to be ignored by the “Stale” Github Actiontopic: text/fonts

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy