XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESystem

【Rust】XFE系统,基于Rust和汇编

公开
关注 0 Fork 0 Star 0
UTF-8
{
  "format": "XFE alpha8 Latin font bank v1",
  "default_font_id": 0,
  "codepoint_first": 32,
  "codepoint_last": 127,
  "cell_width": 12,
  "cell_height": 20,
  "record_bytes": 240,
  "pixel_format": "alpha8-row-major",
  "baseline_y": 16,
  "fonts": [
    {
      "id": 0,
      "name": "XFE Mono",
      "file": "xfe-mono.bin",
      "derived_from": "Cascadia Mono 2407.24; ASCII subset and bitmap format conversion",
      "copyright": "Copyright (c) 2019 - Present, Microsoft Corporation",
      "pixel_size": 16,
      "font_advance": 9.0,
      "ascent": 15,
      "descent": 4,
      "ink_bounds": {
        " ": null,
        "!": [
          4,
          4,
          7,
          16
        ],
        "\"": [
          3,
          4,
          9,
          10
        ],
        "#": [
          1,
          4,
          10,
          16
        ],
        "$": [
          2,
          1,
          10,
          19
        ],
        "%": [
          1,
          4,
          11,
          16
        ],
        "&": [
          1,
          4,
          11,
          16
        ],
        "'": [
          4,
          4,
          7,
          10
        ],
        "(": [
          3,
          3,
          9,
          18
        ],
        ")": [
          2,
          3,
          9,
          18
        ],
        "*": [
          1,
          6,
          10,
          14
        ],
        "+": [
          1,
          5,
          10,
          14
        ],
        ",": [
          4,
          14,
          7,
          20
        ],
        "-": [
          1,
          9,
          10,
          11
        ],
        ".": [
          4,
          13,
          7,
          16
        ],
        "/": [
          1,
          3,
          10,
          18
        ],
        "0": [
          1,
          4,
          10,
          16
        ],
        "1": [
          2,
          4,
          10,
          16
        ],
        "2": [
          1,
          4,
          10,
          16
        ],
        "3": [
          2,
          4,
          10,
          16
        ],
        "4": [
          1,
          4,
          10,
          16
        ],
        "5": [
          2,
          4,
          10,
          16
        ],
        "6": [
          2,
          4,
          10,
          16
        ],
        "7": [
          1,
          4,
          10,
          16
        ],
        "8": [
          1,
          4,
          10,
          16
        ],
        "9": [
          1,
          4,
          10,
          16
        ],
        ":": [
          4,
          7,
          7,
          16
        ],
        ";": [
          4,
          7,
          7,
          20
        ],
        "<": [
          1,
          6,
          10,
          15
        ],
        "=": [
          1,
          7,
          10,
          13
        ],
        ">": [
          2,
          6,
          10,
          15
        ],
        "?": [
          1,
          4,
          9,
          16
        ],
        "@": [
          1,
          4,
          10,
          18
        ],
        "A": [
          1,
          4,
          10,
          16
        ],
        "B": [
          2,
          4,
          10,
          16
        ],
        "C": [
          1,
          4,
          10,
          16
        ],
        "D": [
          2,
          4,
          10,
          16
        ],
        "E": [
          2,
          4,
          10,
          16
        ],
        "F": [
          2,
          4,
          10,
          16
        ],
        "G": [
          1,
          4,
          10,
          16
        ],
        "H": [
          2,
          4,
          10,
          16
        ],
        "I": [
          2,
          4,
          10,
          16
        ],
        "J": [
          1,
          4,
          10,
          16
        ],
        "K": [
          2,
          4,
          11,
          16
        ],
        "L": [
          2,
          4,
          10,
          16
        ],
        "M": [
          2,
          4,
          10,
          16
        ],
        "N": [
          2,
          4,
          10,
          16
        ],
        "O": [
          1,
          4,
          10,
          16
        ],
        "P": [
          2,
          4,
          10,
          16
        ],
        "Q": [
          1,
          4,
          10,
          20
        ],
        "R": [
          2,
          4,
          10,
          16
        ],
        "S": [
          2,
          4,
          10,
          16
        ],
        "T": [
          1,
          4,
          10,
          16
        ],
        "U": [
          2,
          4,
          10,
          16
        ],
        "V": [
          1,
          4,
          10,
          16
        ],
        "W": [
          1,
          4,
          11,
          16
        ],
        "X": [
          1,
          4,
          10,
          16
        ],
        "Y": [
          1,
          4,
          11,
          16
        ],
        "Z": [
          2,
          4,
          10,
          16
        ],
        "[": [
          3,
          2,
          9,
          18
        ],
        "\\": [
          1,
          3,
          10,
          18
        ],
        "]": [
          2,
          2,
          8,
          18
        ],
        "^": [
          2,
          4,
          9,
          9
        ],
        "_": [
          1,
          16,
          10,
          18
        ],
        "`": [
          3,
          2,
          8,
          7
        ],
        "a": [
          1,
          7,
          11,
          16
        ],
        "b": [
          2,
          4,
          10,
          16
        ],
        "c": [
          2,
          7,
          10,
          16
        ],
        "d": [
          1,
          4,
          10,
          16
        ],
        "e": [
          2,
          7,
          10,
          16
        ],
        "f": [
          1,
          4,
          10,
          16
        ],
        "g": [
          1,
          7,
          10,
          20
        ],
        "h": [
          2,
          4,
          10,
          16
        ],
        "i": [
          2,
          4,
          10,
          16
        ],
        "j": [
          2,
          4,
          9,
          20
        ],
        "k": [
          2,
          4,
          10,
          16
        ],
        "l": [
          1,
          4,
          10,
          16
        ],
        "m": [
          1,
          7,
          10,
          16
        ],
        "n": [
          2,
          7,
          10,
          16
        ],
        "o": [
          2,
          7,
          10,
          16
        ],
        "p": [
          2,
          7,
          10,
          20
        ],
        "q": [
          1,
          7,
          10,
          20
        ],
        "r": [
          1,
          7,
          10,
          16
        ],
        "s": [
          2,
          7,
          10,
          16
        ],
        "t": [
          1,
          4,
          10,
          16
        ],
        "u": [
          2,
          7,
          10,
          16
        ],
        "v": [
          1,
          7,
          10,
          16
        ],
        "w": [
          1,
          7,
          10,
          16
        ],
        "x": [
          1,
          7,
          10,
          16
        ],
        "y": [
          1,
          7,
          10,
          20
        ],
        "z": [
          2,
          7,
          10,
          16
        ],
        "{": [
          2,
          2,
          9,
          18
        ],
        "|": [
          4,
          2,
          7,
          19
        ],
        "}": [
          2,
          2,
          9,
          18
        ],
        "~": [
          1,
          8,
          10,
          13
        ],
        "": null
      },
      "sha256": "97794c12d18898ad6e04b0d17c3cf72b03c0af81e5301f38cad95e235aa5baba",
      "source": "assets/fonts/cascadia-mono-2407.24/CascadiaMono-Regular.ttf",
      "source_sha256": "06520d032ec274fa5040b22c6f4a1d829081b24ba40b2da56dae89bf10c7b481",
      "version": "2407.24",
      "license": "OFL-1.1",
      "license_file": "assets/fonts/cascadia-mono-2407.24/OFL-1.1.txt",
      "source_url": "https://github.com/microsoft/cascadia-code/releases/tag/v2407.24"
    },
    {
      "id": 1,
      "name": "Unifont",
      "file": "unifont-latin.bin",
      "pixel_size": 16,
      "sha256": "59ef797b46022c8998dfd8ae58eca01b48af82026e3eea3a16c423a2c414d6d9",
      "source_sha256": "f9c8c7802453f47be02677176aeac2342ee96d354fad7a26cedcce48e68e1d9f",
      "version": "16.0.04",
      "license": "OFL-1.1",
      "license_file": "assets/fonts/unifont-16.0.04/OFL-1.1.txt"
    }
  ],
  "native_scales": {
    "font_id": 0,
    "file": "xfe-mono-scales.bin",
    "sha256": "c3bb278d52e61ad0b4c0d8c0cf4a6f061233a73ce1496db592eedef511104bac",
    "format": "alpha8-row-major; 96 codepoints per scale",
    "scales": [
      {
        "percent": 100,
        "offset": 0,
        "cell_width": 12,
        "cell_height": 20,
        "baseline_y": 16,
        "pixel_size": 16
      },
      {
        "percent": 125,
        "offset": 23040,
        "cell_width": 15,
        "cell_height": 25,
        "baseline_y": 20,
        "pixel_size": 20
      },
      {
        "percent": 150,
        "offset": 59040,
        "cell_width": 18,
        "cell_height": 30,
        "baseline_y": 24,
        "pixel_size": 24
      },
      {
        "percent": 175,
        "offset": 110880,
        "cell_width": 21,
        "cell_height": 35,
        "baseline_y": 28,
        "pixel_size": 28
      },
      {
        "percent": 200,
        "offset": 181440,
        "cell_width": 24,
        "cell_height": 40,
        "baseline_y": 32,
        "pixel_size": 32
      },
      {
        "percent": 225,
        "offset": 273600,
        "cell_width": 27,
        "cell_height": 45,
        "baseline_y": 36,
        "pixel_size": 36
      },
      {
        "percent": 250,
        "offset": 390240,
        "cell_width": 30,
        "cell_height": 50,
        "baseline_y": 40,
        "pixel_size": 40
      },
      {
        "percent": 275,
        "offset": 534240,
        "cell_width": 33,
        "cell_height": 55,
        "baseline_y": 44,
        "pixel_size": 44
      },
      {
        "percent": 300,
        "offset": 708480,
        "cell_width": 36,
        "cell_height": 60,
        "baseline_y": 48,
        "pixel_size": 48
      },
      {
        "percent": 325,
        "offset": 915840,
        "cell_width": 39,
        "cell_height": 65,
        "baseline_y": 52,
        "pixel_size": 52
      },
      {
        "percent": 350,
        "offset": 1159200,
        "cell_width": 42,
        "cell_height": 70,
        "baseline_y": 56,
        "pixel_size": 56
      },
      {
        "percent": 375,
        "offset": 1441440,
        "cell_width": 45,
        "cell_height": 75,
        "baseline_y": 60,
        "pixel_size": 60
      },
      {
        "percent": 400,
        "offset": 1765440,
        "cell_width": 48,
        "cell_height": 80,
        "baseline_y": 64,
        "pixel_size": 64
      }
    ]
  },
  "consolas": {
    "available": false,
    "reason": "Windows font license does not permit bitmap conversion or OS embedding; a separate license is required.",
    "license_reference": "https://learn.microsoft.com/en-us/typography/fonts/font-faq"
  }
}