Skip to content

Where should font-import data go? #2537

@rmkaplan

Description

@rmkaplan

Font information that comes from external (like bdf, html) or legacy (strike, ac) is typically transformed in several stages before it can be made available for online use. The information in the original sources has to be converted into medleyfont format, the encoding scheme of the font has to be translated to mccs, and perhaps then various coercions have to be done to fill in character or charset information from other fonts.

The question is, where should the source and intermediate-stage files be stored? This information is not needed and should not be distributed as part of a release (and maybe it's needed only by someone who is working on fonts improvements).

One possibility is in a set of subdirectories in internal/fonts, for example internal/fonts/bdf/mccs/ for the mccs-translated bdf font files, and internal/fonts/bdf/completed/ for the final ready-to-distribute files. On this scheme, our current strike/ac display files would be moved to internal/fonts/legacydisplay/source/ and the transformation would be stored at .../legacydisplay/mccs/ and .../legacydisplay/completed. The completed fonts from different sources would eventually be copied/merged into the online fonts/displayfonts/.

Or, would it be better to somehow put the various font sources and intermediate translations in a submodule hanging off at some other level in the hierarchy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions