cjk-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font shape substitute for boldface


From: Hin-Tak Leung
Subject: Re: Font shape substitute for boldface
Date: Wed, 16 Oct 2024 20:42:22 +0000 (UTC)

It has been so long again since I last play with CJK. I seem to remember there is some sort of "simulated bold" provision.
On Wednesday 16 October 2024 at 20:31:52 BST, Liang-Ting Chen <liang.ting.chen.tw@gmail.com> wrote:


Hi,

I recently encountered an issue of missing boldface in the CJK environment with TeX Live 2024.

The log has the following warning:

> LaTeX Font Warning: Font shape `C70/bkai/b/n' undefined
> (Font)              using `C70/bkai/m/n' instead on input line 3.

where line 3 has `\textbf{...}` inside the CJK environment. So, it looks like that the command
`\textbf{...}` does not work. By redefining `\bfdefault` to `bx`, i.e.

> \renewcommand{\bfdefault}{bx}

It works again. However, it was very confusing, and it took me hours to figure out how to work
around this. [ I know xelatex is a proper solution but slower than pdflatex. ]

It appears that the extended boldface `bx` was substituted for `b` by default in older tex
distributions, but the medium weight `m` has been used instead after some point. Given that it
might be due to some change in the logic of other systems (NFSS?), it looks challenging to dig
out and fix things there.

So, is it okay to specify the proper substitute `bx` for boldface `b` in font definition (.fd) files?

Best regards,
Liang-Ting
--
Dr Liang-Ting Chen
Institute of Information Science
Academia Sinica, Taiwan

https://l-tchen.github.io

reply via email to

[Prev in Thread] Current Thread [Next in Thread]