Page MenuHomeFreeBSD

freebsd-doc zh-tw font problem in pdf
ClosedPublic

Authored by yanhaowang on Nov 19 2022, 12:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 10:56 PM
Unknown Object (File)
Sat, Oct 11, 4:27 AM
Unknown Object (File)
Fri, Sep 19, 10:05 AM
Unknown Object (File)
Thu, Sep 18, 4:42 AM
Unknown Object (File)
Sep 15 2025, 11:28 PM
Unknown Object (File)
Sep 15 2025, 6:36 PM
Unknown Object (File)
Sep 9 2025, 12:45 PM
Unknown Object (File)
Sep 6 2025, 9:06 PM

Details

Reviewers
carlavilla
dbaio
Summary

fix freebsd-Doc zh-tw pdf font problem

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 48889
Build 45778: arc lint + arc unit

Event Timeline

yanhaowang created this revision.

Could you please add font support for zh-cn as well? Thank you.

dbaio requested changes to this revision.Dec 24 2022, 1:35 AM

Hi.

Thanks for working on this.

As we have a few things to fix in the ports/fonts, let's change a little bit here.

We need to determine if the fonts are installed, so let's check before building zh-tw PDFs.

Regards.

documentation/tools/asciidoctor.sh
73–74

Check if the zh-tw font exists; if it doesn't, print a message and return without running asciidoctor.

76

This could be default

This revision now requires changes to proceed.Dec 24 2022, 1:35 AM

check font file and add zh-cn theme file

Hello.

You don't need to update this review anymore.
I have it working now, with slight changes.

How can I register your contribution,
<bses30074@gmail.com>

?

Thanks for your work.

trying to close it, needs be 'accepted'

This revision is now accepted and ready to land.Jan 21 2023, 12:26 AM