Pipeline Builds for Bhatkhande Fonts #69
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Updates the Bhatkhande font organization to use a Base Bhatkhande layer, and then add the language specific elements on top of that, to allow for easy addition of new languages in the future.
The architecture now looks like this:
Here is a visual comparison of FontGoggles output to demonstrate no changes to the fonts pre- and post- pipeline change:
As an aside, the
convert.pe
script has been replaced with aconvert.py
to consolidate all our scripting in Python.Closes #66
While the relevant characters are identical to before, the unused characters in the fonts have been changed. This is an artifact of an early stage divergence between Ome Bhatkhande Hindi and English. Ome Bhatkhande Hindi started off as a default font, with varying widths for different glyphs. This was standardized in Ome Bhatkhande English to be the set 1582 for all characters, even the missing ones. Since Ome Bhatkhande Punjabi was a copy of Hindi, that too had the varying glyph widths.
After much consideration, I decided to use Ome Bhatkhande English as the Base font, since all characters using the standard width of 1582 is better for monospacing. However, if there are existing documents with mistaken or spurious characters in Ome Bhatkhande Hindi or Punjabi, those documents may be affected by this change.