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
F146318113: D36623.id111965.diff
Sun, Mar 1, 5:01 PM
F146305612: D36623.id.diff
Sun, Mar 1, 2:25 PM
Unknown Object (File)
Sat, Feb 28, 11:38 AM
Unknown Object (File)
Fri, Feb 27, 5:55 AM
Unknown Object (File)
Tue, Feb 24, 11:21 AM
Unknown Object (File)
Mon, Feb 23, 4:43 PM
Unknown Object (File)
Mon, Feb 23, 9:43 AM
Unknown Object (File)
Sun, Feb 22, 9:26 PM
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.