Skip to content

Fix the lists of Windows language IDs#5359

Merged
skef merged 2 commits intofontforge:masterfrom
dscorbett:windows-language-ids
Feb 6, 2024
Merged

Fix the lists of Windows language IDs#5359
skef merged 2 commits intofontforge:masterfrom
dscorbett:windows-language-ids

Conversation

@dscorbett
Copy link
Copy Markdown
Contributor

This updates the lists of Windows language IDs in fontforgeexe/fontinfo.c (the GUI) and fontforge/python.c (the Python API) to match the 'name' table specification.

The first commit adds missing IDs. Existing IDs were not modified, except for Galician, Brazilian Portuguese, and European Portuguese, which had incorrect numbers.

The second commit removes undefined IDs from the GUI. These IDs are valid Windows locale IDs in other contexts, but they are not defined in OpenType. I didn’t remove them from the Python API, to avoid breaking scripts.

Type of change

  • Bug fix
  • Non-breaking change

Copy link
Copy Markdown
Contributor

@skef skef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trusting you on this ...

@skef skef merged commit 4eec2b8 into fontforge:master Feb 6, 2024
@dscorbett dscorbett deleted the windows-language-ids branch February 6, 2024 13:18
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