Page MenuHomeFreeBSD

Fix freebsd-doc zh-tw pdf font(has tofu) problem
ClosedPublic

Authored by yanhaowang on Sep 18 2022, 12:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 3:55 PM
Unknown Object (File)
Sat, Nov 16, 4:47 AM
Unknown Object (File)
Thu, Nov 14, 5:30 PM
Unknown Object (File)
Tue, Nov 5, 11:02 AM
Unknown Object (File)
Tue, Nov 5, 11:02 AM
Unknown Object (File)
Tue, Nov 5, 11:02 AM
Unknown Object (File)
Tue, Nov 5, 11:02 AM
Unknown Object (File)
Tue, Nov 5, 11:02 AM
Subscribers

Details

Summary

Documentation has problem when generate pdf in zh-tw(Chinese) version. There is tofu. So I think the solution is to pkg install noto-tc(a zh-tw font from google) and apply the font.
Other font may meet same problem(like zh-cn ...). It can also use the same way here. This patch just take zh-tw font for example.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

yanhaowang created this revision.
rcyu added a subscriber: rcyu.
rcyu removed a subscriber: lwhsu.
yanhaowang edited the summary of this revision. (Show Details)

This is what the zh-tw pdf look.

yanhaowang edited the summary of this revision. (Show Details)
yanhaowang changed the visibility from "Public (No Login Required)" to "No One".Dec 29 2022, 4:06 AM
yanhaowang changed the visibility from "No One" to "Public (No Login Required)".Dec 29 2022, 4:40 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 21 2023, 12:21 AM
This revision was automatically updated to reflect the committed changes.