You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was facing issue #33 which got fixed on assigning /etc/fonts to FONTCONFIG_PATH.
Behavior with FONTCONFIG_PATH:
All custom fonts loaded using await chromium.font() are working fine, but unable to use Open Sans which ships with the package. Noto Sans JP renders English text in Noto Sans along with the Japanese text.
The default font here becomes Noto Sans.
Behavior without FONTCONFIG_PATH:
On using font Noto Sans JP(Japanese) the english text renders in Open Sans but Japanese texts are rendered properly.
The default font here becomes Open Sans.
The text was updated successfully, but these errors were encountered:
Environment
chromium
Version: 114.0.0puppeteer
/puppeteer-core
Version: 20.6.0Description
I was facing issue #33 which got fixed on assigning
/etc/fonts
toFONTCONFIG_PATH
.Behavior with FONTCONFIG_PATH:
All custom fonts loaded using
await chromium.font()
are working fine, but unable to useOpen Sans
which ships with the package.Noto Sans JP
renders English text inNoto Sans
along with the Japanese text.The default font here becomes
Noto Sans
.Behavior without FONTCONFIG_PATH:
On using font
Noto Sans JP
(Japanese) the english text renders inOpen Sans
but Japanese texts are rendered properly.The default font here becomes
Open Sans
.The text was updated successfully, but these errors were encountered: