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

JEREMY

  • 0 Points

Posted 3 years ago

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

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 29,904 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
https://haversineconsulting.quickbase.com/db/bkyyr8z86?a=dr&rid=1

Lorem Ipsum in Open Sans Woff2 Font (view source)
https://haversineconsulting.quickbase.com/db/bkyyr8z65?a=dbpage&pagename=OpenSansFont.html

Original Open Sans Woff2 font
http://fonts.gstatic.com/s/opensans/v13/K88pR3goAWT7BTt32Z01mxJtnKITppOI_IvcXXDNrsc.woff2