Porównaj commity

...

4 Commity

Autor SHA1 Wiadomość Data
peterhinch b5580b7100 Document V0.41. 2023-01-30 18:11:24 +00:00
peterhinch aa6f67157a Provide for large charsets. Add Chinese etc. charset file. 2023-01-30 17:03:19 +00:00
Peter Hinch 0bb2873663
Merge pull request #45 from lizhaoguosina/sparse-24-bit
update Chinese Japanese example
2023-01-30 16:44:41 +00:00
李兆国 0186d6aa1f update Chinese Japanese example 2023-01-16 19:17:34 +08:00
4 zmienionych plików z 22 dodań i 2 usunięć

1
Chinese_Japanese 100644

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -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|

Wyświetl plik

@ -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.

Wyświetl plik

@ -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