summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2019-05-07 10:06:44 -0400
committerKurt <kurt.w.jung@gmail.com>2019-05-07 10:06:44 -0400
commit71267fb332989953c8b27ec9a31832767886c926 (patch)
treecb71c5b1a3a654534c9d1560dc078bb5d8e85c55 /doc
parent641cda87ac3cf98cf58400cb3ce7513b6cc74295 (diff)
Add note about CJK fonts
Diffstat (limited to 'doc')
-rw-r--r--doc/document.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/document.md b/doc/document.md
index f650372..33f5dac 100644
--- a/doc/document.md
+++ b/doc/document.md
@@ -33,7 +33,10 @@ text, drawing and images.
gofpdf has no dependencies other than the Go standard library. All tests pass
on Linux, Mac and Windows platforms.
-gofpdf supports UTF-8 fonts and "right-to-left" languages.
+gofpdf supports UTF-8 TrueType fonts and "right-to-left" languages. Note that
+Chinese, Japanese, and Korean characters may not be included in many general
+purpose fonts. For these languages, a specialized font (for example,
+[NotoSansSC][noto] for simplified Chinese) can be used.
Also, support is provided to automatically translate UTF-8 runes to code page
encodings for languages that have fewer than 256 glyphs.
@@ -250,6 +253,7 @@ UTF-8 fonts.
[license]: https://raw.githubusercontent.com/jung-kurt/gofpdf/master/LICENSE
[lint]: https://github.com/golang/lint
[logo]: https://github.com/jung-kurt/gofpdf/raw/master/image/logo_gofpdf.jpg?raw=true
+[noto]: https://github.com/jsntn/webfonts/blob/master/NotoSansSC-Regular.ttf
[pr]: https://help.github.com/articles/using-pull-requests/
[report]: https://goreportcard.com/report/github.com/jung-kurt/gofpdf
[status]: https://travis-ci.org/jung-kurt/gofpdf