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

Simple script to remap a font's cmap table #738

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Simple script to remap a font's cmap table #738

merged 1 commit into from
Sep 27, 2023

Conversation

simoncozens
Copy link
Contributor

A font remapper. Simple but works. @m4rc1e I'm going to be really rude and just merge this because I need it for stuff on other branches.

% hb-shape test.ttf 'ABC'
[A=0+600|B=1+580|C=2+620]
% gftools-remap-font -o foo.ttf test.ttf A=A.cur B=B.cur C=C.cur D=D.cur
% hb-shape foo.ttf 'ABC'
[A.cur=0+783|B.cur=1+715|C.cur=2+620]

@simoncozens simoncozens merged commit c622900 into main Sep 27, 2023
10 checks passed
@simoncozens simoncozens deleted the remap-cmap branch September 27, 2023 14:52
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.

1 participant