Custom Font in user defined page

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have a user HTML page that that I am using for reporting, but it requires the use of a custom barcode font that I created for our company. I added in the style information for the font, but I'm not sure where I can put the font files and be able to reference them in the HTML style @font-face. I tried creating a table with a file attachment, but the url to them contains /up/ not /db/, which may be the reason they didn't work.

Does anyone know of a way to use a custom font like this?
Photo of JEREMY


  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
A font file is binary so you can't store it as a user defined code page. Instead save it as a file attachment and reference it in the CSS as follows:

OpenSans Woff2 Font

Lorem Ipsum in Open Sans Woff2 Font (view source)

Original Open Sans Woff2 font