Bug 233433

Summary: Can't make freebsd handbook zh_TW property.
Product: Documentation Reporter: bhy1924
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: blackend, carlavilla, doceng, lantw44, lwhsu
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Bug Depends on: 238830    
Bug Blocks:    

Description bhy1924 2018-11-23 09:58:38 UTC
When you create a freebsd handbook Traditional Chinese pdf file, characters are not displayed correctly in the pdf file
Comment 2 Marc Fonvieille freebsd_committer freebsd_triage 2018-11-23 18:04:21 UTC
I think this is related to FOP which seems unable to embed/use some fonts with PS.
Could you try to build textproc/docproj with DBLATEX instead of FOP?  It should be a sort of workaround.
Comment 3 bhy1924 2018-11-24 08:09:33 UTC
I would like to build pdf file on my computer.

System is 'FreeBSD multimind 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64'.

I have already install zh-CJKUnifonts droid-fonts-ttf wqy-fonts symbloa fop-2.2  and docproj from pkg.I follow fdp-primer to build pdf file.But I can get a pdf fill with '#'
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2018-12-03 08:04:44 UTC
Is there any special setting needs to be taken care of when using DBLATEX?  I tried with docproj with DBLATEX but it seems still needs fop:

https://gist.github.com/lwhsu/2434640fe4f0025f9303038b8386e0bc
Comment 5 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2021-04-01 20:48:32 UTC
The documentation now uses asciidoctor-pdf to create the pdfs