Hello there,
We use Aspose.HTML 21.12 to convert html to Jpeg, we found “font-weight : 800” did not work.
Html code:
image.png (5.4 KB)
C# code:
image.png (42.1 KB)
And see some tests below
#1: When it is “font-weight: 100”, it is okay, html and image are the same as below
Html screenshot
image.png (1.1 KB)
Jpeg screenshot
image.png (6.3 KB)
#2: When it is “font-weight: 700”, it is still okay, html and image are the same too as below
Html screenshot
image.png (1.1 KB)
Jpeg screenshot
image.png (6.7 KB)
#3: But when it is “font-weight: 800”, html is okay, but image did not change, it still showed same effect as “font-weight: 700” did, see below, any ideas, or any workarounds, thank you!
Html screenshot
image.png (1.1 KB)
Jpeg screenshot
image.png (6.6 KB)