beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

FontFile Op

Ops.Html.FontFile


FontFile
Collections:drawText  
Namespace: Ops.Html

Op author: pandur

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Html.FontFile_v2

load a font file like .otf, .ttf, .woff


summary (oneliner)

font is loaded via css. enter a family name and use this as font name in other ops or css properties



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

file (string /Number)

family (string /Number)

Outputs

Loaded (Number)

Loaded Trigger (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

fontfile example

using a font from: https://disasterfonts.co.uk

Open Example In Editor


Patches using FontFile

Changelog


fixed file loading problems when viewing outside of the editor
2019-06-20 - pandur

fixed file loading problems when viewing outside of the editor
2019-06-20 - pandur

fixed file loading problems when viewing outside of the editor
2019-06-20 - pandur

fixed file loading problems when viewing outside of the editor
2019-06-20 - pandur