Bug 233433 - Can't make freebsd handbook zh_TW property.
Summary: Can't make freebsd handbook zh_TW property.
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on: 238830
Blocks:
  Show dependency treegraph
 
Reported: 2018-11-23 09:58 UTC by bhy1924
Modified: 2021-04-01 20:48 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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