Socket
Socket
Sign inDemoInstall

glyphsizesgen

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    glyphsizesgen

Generate a glyph_sizes.bin file for Minecraft Unicode fonts


Version published
Maintainers
1
Install size
69.2 kB
Created

Readme

Source

glyph-sizes-bin-generator

This project can generate a glyph_sizes.bin file for the Minecraft Unicode font from a json file containing the glyph sizes. (Example file: example_file.json)

It can also generate a json file containing the glyph sizes for a specific range of Unicode characters from a glyph_sizes.bin file.

Usage:

Json to bin:

  • <script> [jsonInput]
    • <script>: The path to the script (could be yarn start or npx glyphsizesgen)
    • [jsonInput]: The name of the json file to convert to a bin file (can contain comments).
Example usage:

yarn start ./example_file.json

Bin to json:

  • <script> --reverse [binaryFile] [jsonOutput] [[start] [end]]...
    • <script>: The path to the script (could be yarn start or npx glyphsizesgen)
    • [binaryFile]: The name of the bin file to convert to a json file.
    • [jsonOutput]: The name of the json file to write the json data to.
    • [[start] [end]]...: The range of Unicode characters to write to the json file.
Example usage:

yarn start --reverse glyph_sizes.bin example_file.json U+0400 U+045F U+047A U+04A1

FAQs

Last updated on 19 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc