[
  {
    "path": ".gitignore",
    "content": "# Byte-compiled / optimized / DLL files\n__pycache__/\n*.py[cod]\n*$py.class\n\n# C extensions\n*.so\n\n# Distribution / packaging\n.Python\nenv/\nbuild/\ndevelop-eggs/\ndist/\ndownloads/\neggs/\n.eggs/\nlib/\nlib64/\nparts/\nsdist/\nvar/\n*.egg-info/\n.installed.cfg\n*.egg\n\n# PyInstaller\n#  Usually these files are written by a python script from a template\n#  before PyInstaller builds the exe, so as to inject date/other infos into it.\n*.manifest\n*.spec\n\n# Installer logs\npip-log.txt\npip-delete-this-directory.txt\n\n# Unit test / coverage reports\nhtmlcov/\n.tox/\n.coverage\n.coverage.*\n.cache\nnosetests.xml\ncoverage.xml\n*,cover\n.hypothesis/\n\n# Translations\n*.mo\n*.pot\n\n# Django stuff:\n*.log\nlocal_settings.py\n\n# Flask stuff:\ninstance/\n.webassets-cache\n\n# Scrapy stuff:\n.scrapy\n\n# Sphinx documentation\ndocs/_build/\n\n# PyBuilder\ntarget/\n\n# IPython Notebook\n.ipynb_checkpoints\n\n# pyenv\n.python-version\n\n# celery beat schedule file\ncelerybeat-schedule\n\n# dotenv\n.env\n\n# virtualenv\nvenv/\nENV/\n\n# Spyder project settings\n.spyderproject\n\n# Rope project settings\n.ropeproject\n\n# Application Specific\n*.fea\n*.ttf\n*.sfd\n*.json\nsvg/*.raw.svg\nbuild-py2.py\n"
  },
  {
    "path": ".gitmodules",
    "content": "[submodule \"FiraCode\"]\n\tpath = FiraCode\n\turl = https://github.com/tonsky/FiraCode.git\n[submodule \"RictyDiminished\"]\n\tpath = RictyDiminished\n\turl = https://github.com/edihbrandon/RictyDiminished.git\n"
  },
  {
    "path": ".travis.yml",
    "content": "dist: bionic\naddons:\n  apt:\n    sources:\n      # for some reason python3-fontforge is only available in focal\n      - sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted\n      - sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal universe\n    packages:\n      - python3\n      - python3-fontforge\n      - python3-jinja2\n      - python3-fonttools\nscript:\n  - make\ndeploy:\n  provider: releases\n  api_key:\n    secure: Bo8AlrlQdj4Z8KIu4TKg05HQznAdFdG2uSpe3Hg9jdsSR1AFRHcVsLhs8GNENTykNg66q7gZZJkPlLd0CPLD6dQ1seDqvllMpcBYiNIboeo5rAQ2Y92Q+aWGUZVblhsl+2WEQOyPEYzOFLbGrVKWjZsX2z0s9k14Sn+aRNlAD8fKVeZQzQtNpBiOZzdjkBUYyjwz+Hl+DV4jRpKJtyQ/g/DaSPLrZ3lzqkW1ANPcBTfBZrj5Qfb/FRydJ2FLlwpP3Rbq0zlW1ATKP9qtxXMvyowQtMxjWiHtwW31wLWhjvQBEisjZBgBvUhbZsKxAObgKOneNoxKOFXv2LmX75qwdOROMttlSDgmn9H48WNWJ/VBFOePLtYQjGTlsDXI7iTmDTAEDSsjA+ZGv4K6QX8J9sAUnRnl31SQIaioyfw3VBkNkp8oc6kvmPB+SLIsyjazKlkBc5Ye8qnA7QiB0MlXcpXS3Tv87MgAmdvLoixL3Mh3sIEsgC9sSB78WQjS1sHRrTHigAAoHEuRKM09CsNQ3MlyfCD7DXFWYDF9IlbsoK3QncWyIvBtdMlS9qbGM17/8LohYNKxU8XsOS/EGXgnMLkYyDn/IUQ3bUzFERBVSf4OUgkPVyeTcJDfmmWD6ZWFcsy2wAKlyJKjmPGv6IxD+PjQGtdhk8gDkVvncGeGBz8=\n  file:\n    - RictyDiminished-with-FiraCode-Regular.ttf\n    - RictyDiminished-with-FiraCode-Bold.ttf\n    - RictyDiminishedDiscord-with-FiraCode-Regular.ttf\n    - RictyDiminishedDiscord-with-FiraCode-Bold.ttf\n  skip_cleanup: true\n  on:\n    tags: true\n    repo: hakatashi/RictyDiminished-with-FiraCode\nnotifications:\n  webhooks: http://webhook.hakatashi.com/travis\n"
  },
  {
    "path": "LICENSE",
    "content": "Copyright (c) 2016-2019, Koki Takahashi https://hakatashi.com\n\nCopyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)\n\nCopyright (c) 2014, Nikita Prokopov http://tonsky.me\nwith Reserved Font Name Fira Code.\n\nCopyright (c) 2014, Mozilla Foundation https://mozilla.org/\nwith Reserved Font Name Fira Sans.\n\nCopyright (c) 2014, Mozilla Foundation https://mozilla.org/\nwith Reserved Font Name Fira Mono.\n\nCopyright (c) 2014, Telefonica S.A.\n\nCopyright (c) 2012-2014, Yasunori Yusa\n\nCopyright (c) 2006, Raph Levien\n\nCopyright (c) 2006-2013, itouhiro\n\nCopyright (c) 2002-2013, M+ FONTS PROJECT\n\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\nThis license is copied below, and is also available with a FAQ at:\nhttp://scripts.sil.org/OFL\n\n\n-----------------------------------------------------------\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\n-----------------------------------------------------------\n\nPREAMBLE\nThe goals of the Open Font License (OFL) are to stimulate worldwide\ndevelopment of collaborative font projects, to support the font creation\nefforts of academic and linguistic communities, and to provide a free and\nopen framework in which fonts may be shared and improved in partnership\nwith others.\n\nThe OFL allows the licensed fonts to be used, studied, modified and\nredistributed freely as long as they are not sold by themselves. The\nfonts, including any derivative works, can be bundled, embedded,\nredistributed and/or sold with any software provided that any reserved\nnames are not used by derivative works. The fonts and derivatives,\nhowever, cannot be released under any other type of license. The\nrequirement for fonts to remain under this license does not apply\nto any document created using the fonts or their derivatives.\n\nDEFINITIONS\n\"Font Software\" refers to the set of files released by the Copyright\nHolder(s) under this license and clearly marked as such. This may\ninclude source files, build scripts and documentation.\n\n\"Reserved Font Name\" refers to any names specified as such after the\ncopyright statement(s).\n\n\"Original Version\" refers to the collection of Font Software components as\ndistributed by the Copyright Holder(s).\n\n\"Modified Version\" refers to any derivative made by adding to, deleting,\nor substituting -- in part or in whole -- any of the components of the\nOriginal Version, by changing formats or by porting the Font Software to a\nnew environment.\n\n\"Author\" refers to any designer, engineer, programmer, technical\nwriter or other person who contributed to the Font Software.\n\nPERMISSION & CONDITIONS\nPermission is hereby granted, free of charge, to any person obtaining\na copy of the Font Software, to use, study, copy, merge, embed, modify,\nredistribute, and sell modified and unmodified copies of the Font\nSoftware, subject to the following conditions:\n\n1) Neither the Font Software nor any of its individual components,\nin Original or Modified Versions, may be sold by itself.\n\n2) Original or Modified Versions of the Font Software may be bundled,\nredistributed and/or sold with any software, provided that each copy\ncontains the above copyright notice and this license. These can be\nincluded either as stand-alone text files, human-readable headers or\nin the appropriate machine-readable metadata fields within text or\nbinary files as long as those fields can be easily viewed by the user.\n\n3) No Modified Version of the Font Software may use the Reserved Font\nName(s) unless explicit written permission is granted by the corresponding\nCopyright Holder. This restriction only applies to the primary font name as\npresented to the users.\n\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\nSoftware shall not be used to promote, endorse or advertise any\nModified Version, except to acknowledge the contribution(s) of the\nCopyright Holder(s) and the Author(s) or with their explicit written\npermission.\n\n5) The Font Software, modified or unmodified, in part or in whole,\nmust be distributed entirely under this license, and must not be\ndistributed under any other license. The requirement for fonts to\nremain under this license does not apply to any document created\nusing the Font Software.\n\nTERMINATION\nThis license becomes null and void if any of the above conditions are\nnot met.\n\nDISCLAIMER\nTHE FONT SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\nOTHER DEALINGS IN THE FONT SOFTWARE.\n"
  },
  {
    "path": "Makefile",
    "content": "PYTHON = python3\nREGULAR = RictyDiminished-with-FiraCode-Regular.ttf\nREGULAR_UNLINK = RictyDiminished-with-FiraCode-Regular-unlinked.ttf\nBOLD = RictyDiminished-with-FiraCode-Bold.ttf\nBOLD_UNLINK = RictyDiminished-with-FiraCode-Bold-unlinked.ttf\nREGULAR_DISCORD = RictyDiminishedDiscord-with-FiraCode-Regular.ttf\nREGULAR_DISCORD_UNLINK = RictyDiminishedDiscord-with-FiraCode-Regular-unlinked.ttf\nBOLD_DISCORD = RictyDiminishedDiscord-with-FiraCode-Bold.ttf\nBOLD_DISCORD_UNLINK = RictyDiminishedDiscord-with-FiraCode-Bold-unlinked.ttf\n\nall: $(REGULAR) $(BOLD) $(REGULAR_DISCORD) $(BOLD_DISCORD)\n\n$(REGULAR): $(REGULAR_UNLINK) ligatures.fea\n\t$(PYTHON) apply-feature.py \"$(word 1, $^)\" \"$@\"\n\n$(BOLD): $(BOLD_UNLINK) ligatures.fea\n\t$(PYTHON) apply-feature.py \"$(word 1, $^)\" \"$@\"\n\n$(REGULAR_DISCORD): $(REGULAR_DISCORD_UNLINK) ligatures.fea\n\t$(PYTHON) apply-feature.py \"$(word 1, $^)\" \"$@\"\n\n$(BOLD_DISCORD): $(BOLD_DISCORD_UNLINK) ligatures.fea\n\t$(PYTHON) apply-feature.py \"$(word 1, $^)\" \"$@\"\n\nligatures.fea: ligatures.fea.jinja2 data.json build-feature.py\n\t$(PYTHON) build-feature.py\n\n$(REGULAR_UNLINK): RictyDiminished/RictyDiminished-Regular.ttf FiraCode/distr/otf/FiraCode-Regular.otf\n\t$(PYTHON) build.py \"$(word 1, $^)\" \"$(word 2, $^)\" \"$@\" Regular false\n\n$(BOLD_UNLINK): RictyDiminished/RictyDiminished-Bold.ttf FiraCode/distr/otf/FiraCode-Bold.otf\n\t$(PYTHON) build.py \"$(word 1, $^)\" \"$(word 2, $^)\" \"$@\" Bold false\n\n$(REGULAR_DISCORD_UNLINK): RictyDiminished/RictyDiminishedDiscord-Regular.ttf FiraCode/distr/otf/FiraCode-Regular.otf\n\t$(PYTHON) build.py \"$(word 1, $^)\" \"$(word 2, $^)\" \"$@\" Regular true\n\n$(BOLD_DISCORD_UNLINK): RictyDiminished/RictyDiminishedDiscord-Bold.ttf FiraCode/distr/otf/FiraCode-Bold.otf\n\t$(PYTHON) build.py \"$(word 1, $^)\" \"$(word 2, $^)\" \"$@\" Bold true\n\n.PHONY: all\n"
  },
  {
    "path": "README.md",
    "content": "# RictyDiminished-with-FiraCode\n\n日本一美しいプログラミングフォント [Ricty Diminished](https://github.com/edihbrandon/RictyDiminished) に、[FiraCode](https://github.com/tonsky/FiraCode)のプログラミング合字をミックス。\n\n![](https://i.imgur.com/nPUBImM.png)\n![](https://i.imgur.com/TkbPojr.png)\n\n## Download\n\n### Ricty Diminished with FiraCode\n\n* [Regular](https://github.com/hakatashi/RictyDiminished-with-FiraCode/releases/download/1.2.0/RictyDiminished-with-FiraCode-Regular.ttf)\n* [Bold](https://github.com/hakatashi/RictyDiminished-with-FiraCode/releases/download/1.2.0/RictyDiminished-with-FiraCode-Bold.ttf)\n\n### Ricty Diminished Discord with FiraCode\n\n* [Regular](https://github.com/hakatashi/RictyDiminished-with-FiraCode/releases/download/1.2.0/RictyDiminishedDiscord-with-FiraCode-Regular.ttf)\n* [Bold](https://github.com/hakatashi/RictyDiminished-with-FiraCode/releases/download/1.2.0/RictyDiminishedDiscord-with-FiraCode-Bold.ttf)\n\n## License\n\n[SIL OPEN FONT LICENSE Version 1.1](LICENSE)\n"
  },
  {
    "path": "apply-feature.py",
    "content": "# -*- coding: utf-8 -*-\n\nfrom fontTools import ttLib\nfrom fontTools.feaLib.builder import addOpenTypeFeatures\nimport argparse\nimport sys\n\nparser = argparse.ArgumentParser()\nparser.add_argument('in_font')\nparser.add_argument('out_font')\noptions = parser.parse_args(sys.argv[1:])\n\n# Apply generated feature file to the unlinked font file\nricty = ttLib.TTFont(options.in_font)\naddOpenTypeFeatures(ricty, 'ligatures.fea')\nricty.save(options.out_font)\n"
  },
  {
    "path": "build-feature.py",
    "content": "# -*- coding: utf-8 -*-\n\nfrom jinja2 import Template\nimport json\n\n# Load data\nwith open('data.json', 'r') as file:\n    data = json.load(file)\n\n# Load template file\nwith open('ligatures.fea.jinja2', 'r') as file:\n    template = Template(file.read())\n\n# Render feature file\nwith open('ligatures.fea', 'w') as file:\n    file.write(template.render(data))\n"
  },
  {
    "path": "build.py",
    "content": "# -*- coding: utf-8 -*-\n\nimport fontforge\nimport datetime\nimport textwrap\nimport argparse\nimport psMat\nimport json\nimport csv\nimport os\nimport sys\n\nversion = '1.2.0'\ntoday = datetime.date.today()\n\nparser = argparse.ArgumentParser()\nparser.add_argument('ricty')\nparser.add_argument('firacode')\nparser.add_argument('out_font')\nparser.add_argument('weight')\nparser.add_argument('discord')\noptions = parser.parse_args(sys.argv[1:])\n\nif options.discord == 'true':\n    fontname = 'RictyDiminishedDiscordWithFiraCode'\n    familyname = 'Ricty Diminished Discord with Fira Code'\nelse:\n    fontname = 'RictyDiminishedWithFiraCode'\n    familyname = 'Ricty Diminished with Fira Code'\nweight = options.weight\n\nricty = fontforge.open(options.ricty)\nfiracode = fontforge.open(options.firacode)\n\n# Load ligatures data and create data to generate feature file\nwith open('ligatures.csv', 'r') as file:\n    ligatures_reader = csv.reader(file, delimiter=' ')\n\n    ligatures = []\n    nullable_glyphs = []\n    glyphs = []\n\n    for [components, source_type, name] in ligatures_reader:\n        glyphs.append((source_type, name))\n        component_names = list(map(lambda c: ricty[ord(c)].glyphname, list(components)))\n\n        nullable_glyphs.extend(component_names[:-1])\n\n        ligatures.append({\n            'glyph': name,\n            'components': component_names,\n            'lookup': '_'.join(map(lambda name: name.upper(), component_names)),\n        })\n\n# Unique\nnullable_glyphs = list(set(nullable_glyphs))\n\n# Dump data\nwith open('data.json', 'w') as file:\n    file.write(json.dumps({\n        'ligatures': ligatures,\n        'nullable_glyphs': nullable_glyphs,\n    }))\n\n# Copy needed glyphs from Fira Code font to Ricty\nfor (source_type, name) in glyphs:\n    ricty.createChar(-1, name)\n\n    if source_type == 'svg':\n        ricty[name].importOutlines('svg/{}.{}.svg'.format(name, weight))\n        ricty[name].width = 500\n    elif source_type == 'glf':\n        firacode.selection.select(name)\n        firacode.copy()\n        ricty.selection.select(name)\n        ricty.paste()\n\n        ricty.transform(psMat.compose(psMat.scale(500 / 1200), psMat.translate(0, 50)))\n        ricty[name].width = 500\n\n# Import Powerline glyphs\npowerline_codes = [0xE0A0, 0xE0A1, 0xE0A2, 0xE0B0, 0xE0B1, 0xE0B2, 0xE0B3]\n\nfor codepoint in powerline_codes:\n    ricty.createChar(codepoint)\n    firacode.selection.select(('unicode',), codepoint)\n    firacode.copy()\n    ricty.selection.select(('unicode',), codepoint)\n    ricty.paste()\n\n# Modify glyphs\n\n# Branch\nricty[0xE0A0].transform(psMat.translate(-50, 0))\n# Line Number\nricty[0xE0A1].transform(psMat.translate(-50, 0))\n# Locked\nricty[0xE0A2].transform(psMat.scale(500 / 600))\n\n# Reset widths\nfor codepoint in powerline_codes:\n    ricty[codepoint].width = 500\n\n# Set font name\nricty.familyname = familyname\nricty.fontname = '{}-{}'.format(fontname, weight)\nricty.fullname = '{} {}'.format(familyname, weight)\nricty.weight = weight\n\n# Set base version of the font\nricty.version = version\n\n# Unset other version names to make them auto-calculated by FontForge\nricty.sfntRevision = None\nricty.woffMajor = None\nricty.woffMinor = None\n\nricty.copyright = textwrap.dedent('''\\\n    Copyright (c) 2012-2014 Yasunori Yusa\n    Copyright (c) 2006 Raph Levien\n    Copyright (c) 2006-2013 itouhiro\n    Copyright (c) 2002-2013 M+ FONTS PROJECT\n    Copyright (c) 2014 Mozilla Foundation\n    Copyright (c) 2014 Telefonica S.A.\n    Copyright (c) 2014 Nikita Prokopov\n    Copyright (c) 2014 The Fira Code Project Authors (https://github.com/tonsky/FiraCode)\n    Copyright (c) 2016-2019 Koki Takahashi\n    License:\n    SIL Open Font License Version 1.1 (http://scripts.sil.org/ofl)\n''')\n\nwith open('LICENSE') as file:\n    ricty.appendSFNTName('English (US)', 'License', file.read())\n\nricty.appendSFNTName('English (US)', 'License URL', 'http://scripts.sil.org/OFL')\n\nricty.appendSFNTName('English (US)', 'UniqueID', '{} {} : {} : {}'.format(familyname, weight, version, today.isoformat()))\n\n# Export\ntry:\n    os.remove(options.out_font)\nexcept OSError:\n    pass\nricty.generate(options.out_font)\n"
  },
  {
    "path": "ligatures.csv",
    "content": "www glf w_w_w.liga\n*/ glf asterisk_slash.liga\n*** glf asterisk_asterisk_asterisk.liga\n** glf asterisk_asterisk.liga\n]# glf bracketright_numbersign.liga\n::: glf colon_colon_colon.liga\n:: glf colon_colon.liga\n=:= glf equal_colon_equal.liga\n:= glf colon_equal.liga\n!! glf exclam_exclam.liga\n!== glf exclam_equal_equal.liga\n!= glf exclam_equal.liga\n--- glf hyphen_hyphen_hyphen.liga\n--> glf hyphen_hyphen_greater.liga\n->> glf hyphen_greater_greater.liga\n-<< glf hyphen_less_less.liga\n-> glf hyphen_greater.liga\n-< glf hyphen_less.liga\n-~ glf hyphen_asciitilde.liga\n#### glf numbersign_numbersign_numbersign_numbersign.liga\n### glf numbersign_numbersign_numbersign.liga\n## glf numbersign_numbersign.liga\n#{ svg numbersign_braceleft\n#[ glf numbersign_bracketleft.liga\n#( glf numbersign_parenleft.liga\n#? glf numbersign_question.liga\n#_( glf numbersign_underscore_parenleft.liga\n#_ glf numbersign_underscore.liga\n.- glf period_hyphen.liga\n.= glf period_equal.liga\n... glf period_period_period.liga\n..< glf period_period_less.liga\n.. glf period_period.liga\n?? glf question_question.liga\n?= glf question_equal.liga\n;; glf semicolon_semicolon.liga\n/* glf slash_asterisk.liga\n/== glf slash_equal_equal.liga\n/= glf slash_equal.liga\n/// glf slash_slash_slash.liga\n// glf slash_slash.liga\n||= glf bar_bar_equal.liga\n|| glf bar_bar.liga\n|= glf bar_equal.liga\n|> glf bar_greater.liga\n^= glf asciicircum_equal.liga\n+++ glf plus_plus_plus.liga\n++ glf plus_plus.liga\n=== glf equal_equal_equal.liga\n==> glf equal_equal_greater.liga\n=>> glf equal_greater_greater.liga\n=> glf equal_greater.liga\n=<< glf equal_less_less.liga\n=/= glf equal_slash_equal.liga\n>- glf greater_hyphen.liga\n>=> glf greater_equal_greater.liga\n>>- glf greater_greater_hyphen.liga\n>>= glf greater_greater_equal.liga\n>>> glf greater_greater_greater.liga\n>> glf greater_greater.liga\n<*> glf less_asterisk_greater.liga\n<* glf less_asterisk.liga\n*> glf asterisk_greater.liga\n<|> glf less_bar_greater.liga\n<| glf less_bar.liga\n<$> glf less_dollar_greater.liga\n<$ glf less_dollar.liga\n$> glf dollar_greater.liga\n<!-- glf less_exclam_hyphen_hyphen.liga\n<-- glf less_hyphen_hyphen.liga\n<-> glf less_hyphen_greater.liga\n<+> glf less_plus_greater.liga\n<+ glf less_plus.liga\n+> glf plus_greater.liga\n<== glf less_equal_equal.liga\n<=> glf less_equal_greater.liga\n<=< glf less_equal_less.liga\n<- glf less_hyphen.liga\n<> glf less_greater.liga\n<<- glf less_less_hyphen.liga\n<<= glf less_less_equal.liga\n<<< glf less_less_less.liga\n<< glf less_less.liga\n<~~ glf less_asciitilde_asciitilde.liga\n<~ glf less_asciitilde.liga\n</> glf less_slash_greater.liga\n</ svg less_slash\n/> glf slash_greater.liga\n~@ glf asciitilde_at.liga\n~- glf asciitilde_hyphen.liga\n~= glf asciitilde_equal.liga\n~~> glf asciitilde_asciitilde_greater.liga\n~> glf asciitilde_greater.liga\n~~ glf asciitilde_asciitilde.liga\n%% glf percent_percent.liga\n&& svg ampersand_ampersand\n<= svg less_equal\n>= svg greater_equal\n== glf equal_equal.liga\n-- glf hyphen_hyphen.liga\n-| glf hyphen_bar.liga\n{| glf braceleft_bar.liga\n[| glf bracketleft_bar.liga\n.? glf period_question.liga\n::= glf colon_colon_equal.liga\n:> glf colon_greater.liga\n:< glf colon_less.liga\n!!. glf exclam_exclam_period.liga\n?. glf question_period.liga\n?: glf question_colon.liga\n#: glf numbersign_colon.liga\n#! glf numbersign_exclam.liga\n#= glf numbersign_equal.liga\n/\\ glf slash_backslash.liga\n\\/ glf backslash_slash.liga\n_|_ glf underscore_bar_underscore.liga\n__ glf underscore_underscore.liga\n|- glf bar_hyphen.liga\n|-> glf bar_hyphen_greater.liga\n|} glf bar_braceright.liga\n|] glf bar_bracketright.liga\n||- glf bar_bar_hyphen.liga\n|||> glf bar_bar_bar_greater.liga\n||> glf bar_bar_greater.liga\n|=> glf bar_equal_greater.liga\n=!= glf equal_exclam_equal.liga\n>-> glf greater_hyphen_greater.liga\n>: glf greater_colon.liga\n<-| glf less_hyphen_bar.liga\n<-< glf less_hyphen_less.liga\n<: glf less_colon.liga\n<|| glf less_bar_bar.liga\n<||| glf less_bar_bar_bar.liga\n<=| glf less_equal_bar.liga\n<==> glf less_equal_equal_greater.liga\n<~> glf less_asciitilde_greater.liga\n"
  },
  {
    "path": "ligatures.fea.jinja2",
    "content": "languagesystem DFLT dflt;\nlanguagesystem latn dflt;\nlanguagesystem grek dflt;\nlanguagesystem cyrl dflt;\nlanguagesystem kana dflt;\nlanguagesystem hani dflt;\n\nlookup NULLIFY {\n    {% for glyph in nullable_glyphs %}\n        substitute {{glyph}} by space;\n    {% endfor %}\n} NULLIFY;\n\n{% for ligature in ligatures %}\n    lookup {{ligature['lookup']}} {\n        substitute {{ligature['components'][-1]}} by {{ligature['glyph']}};\n    } {{ligature['lookup']}};\n{% endfor %}\n\nfeature calt {\n    {% for ligature in ligatures %}\n        substitute\n            {% for component in ligature['components'] %}\n                {% if loop.last %}\n                    {{component}}' lookup {{ligature['lookup']}}\n                {% else %}\n                    {{component}}' lookup NULLIFY\n                {% endif %}\n            {% endfor %};\n    {% endfor %}\n} calt;\n"
  }
]