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
F141923001: D36623.id115380.diff
Mon, Jan 12, 2:13 PM
Unknown Object (File)
Sun, Jan 11, 9:55 AM
Unknown Object (File)
Sun, Jan 11, 9:50 AM
Unknown Object (File)
Sat, Jan 10, 7:07 AM
Unknown Object (File)
Thu, Jan 8, 1:57 PM
Unknown Object (File)
Thu, Jan 8, 1:50 PM
Unknown Object (File)
Thu, Jan 8, 1:26 PM
Unknown Object (File)
Thu, Jan 8, 1:16 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.