thinreports-basic-editor icon indicating copy to clipboard operation
thinreports-basic-editor copied to clipboard

Custom font

Open hidakatsuya opened this issue 7 years ago • 0 comments

Introduction

This implementation is different from the official frozen specification thinreports/thinreports#5.

Status

  • [x] Implementation and manual test
  • [ ] Some code refactoring
  • [ ] Some improvements of font metrics calculation

Feature

  • Basic action http://recordit.co/PeOoMKPu99
  • Font validation http://recordit.co/aNcTVLbuAj
  • Custom fonts are stored for each tab http://recordit.co/vni18k3LMj
  • Custom fonts only actually used are recorded in *.tlf and restored http://recordit.co/YBr9GRgfC2

Specification

.tlf schema

{
  "version": "0.10.0",
     :
  "state": {
    "layout-guides": [],
    "custom-fonts": [
      "Gen Shin Gothic"
    ]
  },
    :
}

hidakatsuya avatar May 07 '18 18:05 hidakatsuya