Re: How to generate fonts

Posted by chloerei on
URL: https://discuss.asciidoctor.org/How-to-generate-fonts-tp2358p2626.html

Thanks for your works.

I tried this script, and use the result font in project, but I found some characters are missing:

[source, asciidoc]
----
=== 环境变量

现在来了解一下什么是环境变量,以及如何设置环境变量。

环境变量是进程启动的时候由操作系统设置的一组变量。操作系统在启动的时候已经定义了一些环境变量,可以用 `env` 命令来查阅:
----

Compare DroidSansFallbackFull.ttf and DroidSansFallbackFull.ttf result





I think convert otf font to ttf maybe no a good idea, it bring many issuses, unless understand the whole font's detail, but it take too much time.

DroidSansFallbackFull.ttf is using in Ubuntu and old versions Android for cjk, it look acceptable in my document.(it missing some uncommon charsets, so Noto born). The perfect solution is directly support otf font in prawn, than editor can use the best font for his/her document, but I don't know how to write a otf parse for prawn.

I search M+ font (http://mplus-fonts.sourceforge.jp/), I found English and Japaness support, no Chinese and Korea, am I missing something?