Skip to content

Conversation

@asibahi
Copy link
Contributor

@asibahi asibahi commented Dec 14, 2025

align code with docs

@asibahi asibahi changed the title set-variation to return None on tag not existing as per dics set-variation to return None on tag not existing as per docs Dec 14, 2025
@RazrFalcon
Copy link
Collaborator

Make sure it doesn't break rustybuzz. Maybe just the docs are outdated.

@asibahi
Copy link
Contributor Author

asibahi commented Dec 14, 2025

in rustybuzz Cargo.toml

[dependencies.ttf-parser]
git = "https://github.com/asibahi/ttf-parser.git"
rev = "52a98111ad146397de89cb2481ff5ec3ef562912"
# version = "0.25"
default-features = false
features = [
    "opentype-layout",
    "apple-layout",
    "variable-fonts",
    "glyph-names",
    "no-std-float",
]

All cargo test tests pass too.

(Aside: I came across this while porting ttf_parser to Zig)

@RazrFalcon
Copy link
Collaborator

Thanks. Hopefully someone would merge it soon.

I came across this while porting ttf_parser to Zig

Good luck 👍

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

Successfully merging this pull request may close these issues.

2 participants