Jump to content
  • 0

Code Bar


leina

Question

Hello everyone

I'm new in caspion and i'm trying using google web fonts, however i don't know why it doesn't show in the html block. maybe the code doesn't go there i'm not sure


<link rel="stylesheet" href="https://fonts.google.com/specimen/Libre+Barcode+39#standard-styles">

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello @leina,

External fonts should be used in the Header of the datapage. 

According to the specification, fonts should have one of the following formats: 
 

Format MIME type
TrueType font/ttf
OpenType font/otf
Web Open Font Format font/woff
Web Open Font Format 2 font/woff2

 


More details can be found here: 

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

So, firstly, you should download need font and add the correct link to the href attribute:
image.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...