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
F139977863: D36623.id.diff
Thu, Dec 18, 2:44 PM
Unknown Object (File)
Tue, Dec 16, 1:17 PM
Unknown Object (File)
Tue, Dec 16, 11:27 AM
Unknown Object (File)
Tue, Dec 16, 10:19 AM
Unknown Object (File)
Mon, Dec 15, 2:23 PM
Unknown Object (File)
Sun, Dec 14, 3:31 PM
Unknown Object (File)
Sun, Dec 14, 11:54 AM
Unknown Object (File)
Sat, Dec 13, 3:47 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

Lint
Lint Skipped
Unit
Tests Skipped

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.