Skip to content

OTF feature tag problem? #320

@yuishin-kikuchi

Description

@yuishin-kikuchi

luaotfload-tool version: "3.29"
Luaotfload: "v3.29/2024-12-03"

I use Resource Han Rounded VF (RHR VF).
(https://github.com/CyanoHao/Resource-Han-Rounded)

RHR VF has two axis features: wght and ROND.
ROND is a tag for roundness.

otfinfo says RHR VF has 'ROND'.
GNOME text editor also says 'ROND'.
So I tested like below:

% luatexja-fontspec
\jfontspec{ResourceHanRoundedJPVF}[
  UprightFeatures={
    RawAxis={ROND=20, wght=400},% <--
  },
]
日本語サンプルテキスト

But roundness not set correctly.

So I checked with steve's tool:
https://tex.stackexchange.com/questions/681771/luaotfload-list-available-axes-of-variable-font

The tool says luaotfload recognizes the feature as 'rond'.
Then I tested RawAxis={rond=20, wght=400} and got correct typeset successfully.

I think it is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions