Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dhardy
Copy link
Contributor

@dhardy dhardy commented Jun 4, 2025

Font synthesis is now propagated and applied to ab_glyph and rustybuzz font faces (Swash requires this be applied downstream when rastering glyphs). Caveat: font metrics available through ScaledFaceRef are not adjusted; results when using font variations without rustybuzz may not account for adjusted glyph size properly while cursor position, highlights and decorations may not be perfect. So far my testing hasn't found any big issues however.

https://github.com/harfbuzz/harfbuzz_rs is removed as a dependency since it appears to be unmaintained and is redundant with rustybuzz. https://github.com/mooman219/fontdue is removed as a dependency since it doesn't appear to support font synthesis and is redundant with ab_glyph and swash.

The kas-text version is bumped to v0.8.0 since there are breaking changes, though release is not planned just yet. README tweaks.

@dhardy
Copy link
Contributor Author

dhardy commented Jun 4, 2025

Behold faux-bold effects over a cursive font (Z003):
image
Negative skew:
image
What, you didn't think the result would be pretty, did you?!

@dhardy dhardy merged commit 9312d06 into master Jun 4, 2025
5 checks passed
@dhardy dhardy deleted the push-rolovzxvtwss branch July 24, 2025 08:30
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