• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

font-weight on EPUB

Enthusiast ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Hi,

 

[Screenshot 1]

On Id, there are font-weight (light, regular, medium, bold).

 

On EPUB, medium on CONCLUSION.(4) is not presented well (I want to make it thinner than bold).

So, I wrote:

span.medium {font-weight: ;}

 

[Screenhot 2]

"font-weight: 900" works.

 

[Screenshot 3]

With font-weight: 100, I can't make medium on CONCLUSION.(4) much thinner than bold.

 

Is there any workaround?

 

Hosun

 

Screenshot 1Screenshot 1Screenshot 2Screenshot 2Screenshot 3Screenshot 3

TOPICS
How to

Views

275

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Mar 28, 2023 Mar 28, 2023

The only font weights that work consistently in EPUB are Regular, Bold, Italic and BoldItalic (by whatever specific names a given font might use). Other weights, whether named (Light, Semibold, Demi, Black, etc.) or numeric, will map to one of those four. I forget the numeric equivalent ranges for those four, off hand, but 100-500 will map to Regular, 600-900 to Bold.

 

Votes

Translate

Translate
Community Expert , Mar 28, 2023 Mar 28, 2023

Nearly everything in EPUB is reader-dependent. It's likely that no two readers, even the same app on different platforms, will interpret any given document the same way.

 

But the standard/vanilla readers only intrerpret those four faces.

 

Votes

Translate

Translate
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

The only font weights that work consistently in EPUB are Regular, Bold, Italic and BoldItalic (by whatever specific names a given font might use). Other weights, whether named (Light, Semibold, Demi, Black, etc.) or numeric, will map to one of those four. I forget the numeric equivalent ranges for those four, off hand, but 100-500 will map to Regular, 600-900 to Bold.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

I'd rather go with font-weight: 400.

It makes no difference on Mac.

But it makes difference on iPhone.

 

Hosun

 

Books app on MacBooks app on MacBooks app on iPhoneBooks app on iPhone

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

LATEST

Nearly everything in EPUB is reader-dependent. It's likely that no two readers, even the same app on different platforms, will interpret any given document the same way.

 

But the standard/vanilla readers only intrerpret those four faces.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines