Git Product home page Git Product logo

locl-test's Introduction

LOCL Test

LOCL Test (LOCL テスト is its Japanese name) is a special-purpose OpenType/CFF font that is intended to be used to test the extent to which applications and other text-handling environments support the 'locl' (Localized Forms) GSUB feature and language tagging, in terms of supporting common East Asian languages, specifically Japanese, Korean, Simplified Chinese, Traditional Chinese for Taiwan, and Traditional Chinese for Hong Kong SAR.

  • The glyph set includes the mandatory .notdef glyph at CID+0, along with a space (U+0020) glyph at CID+1.

  • CIDs 2 through 6 are digraphs that correspond to the regions that use the five supports languages: "JP" for Japan, "KR" for South Korean (ROK), "CN" for China (PRC), "TW" for Taiwan (ROC), and "HK" for Hong Kong SAR. Only the digraph "JP" is encoded, and is double-mapped from "J" (U+004A) and "j" (U+006A). Accessing the digraphs that correspond to the other four regions requires 'locl' GSUB feature support and language tagging.

  • CIDs 7 through 11 are region-specific glyphs of the CJK Unified Ideograph U+904D (遍), and only that for Japan (JP) is encoded. Accessing the glyphs that correspond to the other four regions requires 'locl' GSUB feature support and language tagging.

The image below shows how the provided locl-test.html file should display when opened in a browser (the glyphs for Hong Kong SAR are colored red because that is a current pain point for some apps):

alt text

The Format 14 'cmap' subtable specifies (unregistered) PanCJKV IVSes for a total of 11 regions. The image below shows how the second line of text in the provided uvs-test.html file should display when opened in a browser (the glyph for Hong Kong SAR is colored red because that is a current pain point for some apps):

alt text

The glyphs that are used in this font are derived from the Regular weight of Source Han Sans.

Font installation instructions

Building the font from source

Requirements

To build the binary font file from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.

Building the font

In this repository, all necessary files are in place for building the OpenType/CFF font, and the COMMANDS.txt file provides the command lines that are used.

Getting Involved

For any suggestions for changes, please create a new issue for consideration.

locl-test's People

Contributors

danrhatigan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.