kopia lustrzana https://github.com/peterhinch/micropython-font-to-py
Porównaj commity
4 Commity
7a93100e72
...
b5580b7100
Autor | SHA1 | Data |
---|---|---|
peterhinch | b5580b7100 | |
peterhinch | aa6f67157a | |
Peter Hinch | 0bb2873663 | |
李兆国 | 0186d6aa1f |
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,14 @@
|
|||
# Chinese Japanese and Korean characters
|
||||
|
||||
The file `chinese_japanese` contains the following characters. It may be used
|
||||
(in full, or edited) to perpare Python font files for these languages with the
|
||||
`-k` or `--charset_file` option. The source TTF or OTF file must contain the
|
||||
relevant glyphs.
|
||||
|
||||
# charset range
|
||||
|
||||
|language|range|
|
||||
|---|---|
|
||||
|ASCII|Total 96 chars|
|
||||
|Chinese|Contain 6763 Chars in [GB/T 2312-1980](https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=5664A728BD9D523DE3B99BC37AC7A2CC) and `啰`、`喰`、`瞭`、`𬌗`|
|
||||
|Japanese|Total 174 hiragana and katakana characters|
|
|
@ -11,7 +11,12 @@ resource-limited targets: the font file may be incorporated into a firmware
|
|||
build such that it occupies flash memory rather than scarce RAM. Python code
|
||||
built into firmware is known as frozen bytecode.
|
||||
|
||||
## 1.1 Recent revisions
|
||||
## 1.1 Revision history
|
||||
|
||||
30 Jan 2023 V0.41 With thanks to @ferrolive (Igor Oliveira) who supplied the
|
||||
charset file.
|
||||
1. Charset file enables Chinese, Japanese and Korean glyphs to be specified.
|
||||
2. Now allows much larger output files: sparse index is now 24 bit.
|
||||
|
||||
1 Feb 2021 V0.4 With thanks to @enigmaniac for the suggestion and code ideas.
|
||||
1. Now supports `bdf` and `pcf` font files for better results at small sizes.
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
# The MIT License (MIT)
|
||||
#
|
||||
# Copyright (c) 2016-2021 Peter Hinch
|
||||
# Copyright (c) 2016-2023 Peter Hinch
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
Ładowanie…
Reference in New Issue