Vetgedrukt werkt niet in Chrome met extern font

Pagina: 1
Acties:

Vraag


Acties:
  • 0 Henk 'm!

  • havana
  • Registratie: Augustus 1999
  • Laatst online: 30-09 08:26
Mijn vraag

Op mijn website (zie signature) gebruiken we een extern font. Probleem is eigenlijk heel simpel. In Chrome wordt vette tekst <b> of <strong> niet weergegeven en in Safari wel.

Voorbeeld Chrome:

Afbeeldingslocatie: https://tweakers.net/i/fnpmn7foy9Ut2ajn8t_U9BpWVQQ=/full-fit-in/4000x4000/filters:no_upscale():fill(white):strip_exif()/f/image/2m8lBDcqih5ERoUBQ5SYYYHX.png?f=user_large

Zelfde artikel in Safari, nu wel vette tekst.

Afbeeldingslocatie: https://tweakers.net/i/KoUUQkqV8ORgk3uZZ43FuNAT-Dc=/full-fit-in/4000x4000/filters:no_upscale():fill(white):strip_exif()/f/image/XUz0BhvdUhKvHUuU5s3dzHVa.png?f=user_large

Software:

Custom gebouwd CMS, geen Wordpress o.i.d.

Wat ik al gevonden of geprobeerd heb

Googlen. Maar ik kom er met mijn beperkte kennis niet uit.

DIT IS MIJN WEBSITE

Alle reacties


Acties:
  • 0 Henk 'm!

  • RobIII
  • Registratie: December 2001
  • Niet online

RobIII

Admin Devschuur®

^ Romeinse Ⅲ ja!

(overleden)
Begin eens vooraan: bevat het lettertype überhaupt een "vette" variant?

There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery.

Je eigen tweaker.me redirect

Over mij


Acties:
  • +1 Henk 'm!

  • Ramon
  • Registratie: Juli 2000
  • Laatst online: 18:51
Je gebruikt Bai Jamjuree Regular. Je kan hier dan wel de font-weight van aanpassen maar dan krijg je een soort "nep-bold". Beter is om Bai Jamjuree Semi-Bold of Bai Jamjuree Bold te gebruiken zodra de font-weight omhoog gaat. Dit kan je aanpassen in je @font-face definities, zie bijvoorbeeld: https://www.smashingmagaz...at-font-face-declaration/

Voorbeeldje:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@font-face {
   font-family: 'UbuntuItalic';
      src: url('Ubuntu-RI-webfont.eot');
      src: url('Ubuntu-RI-webfont.eot?#iefix') format('embedded-opentype'),
           url('Ubuntu-RI-webfont.woff') format('woff'),
           url('Ubuntu-RI-webfont.ttf') format('truetype'),
           url('Ubuntu-RI-webfont.svg#UbuntuItalic') format('svg');
   font-weight: 400;
   font-style: italic;
}

@font-face {
   font-family: 'UbuntuBold';
      src: url('Ubuntu-B-webfont.eot');
      src: url('Ubuntu-B-webfont.eot?#iefix') format('embedded-opentype'),
           url('Ubuntu-B-webfont.woff') format('woff'),
           url('Ubuntu-B-webfont.ttf') format('truetype'),
           url('Ubuntu-B-webfont.svg#UbuntuBold') format('svg');
   font-weight: 700;
   font-style: normal;
}

Check mijn V&A ads: https://tweakers.net/aanbod/user/9258/