Agamnentzar / ag-psd

Javascript library for reading and writing PSD files
Other
496 stars 66 forks source link

There seems to be no field that displays word weight. What should I do? #187

Closed jerryzhangjq closed 3 months ago

jerryzhangjq commented 3 months ago

I adjust font weight in photoshop

image image

The following is the comparison effect

image image

The following is a comparison of the data I parsed

image

There seems to be no field that displays word weight. What should I do?

jerryzhangjq commented 3 months ago

Sorry, I understand the problem. Font weight is a browser-specific concept.

Agamnentzar commented 2 months ago

Yes, on system level there is a separate font file for each font weight. There's extra fauxBold option in photoshop that auto-generates bold version if the font doesn't have bold version.