I have been known that we can use custom fonts with axure, provided that these custom fonts are hosted online and we have to incorporate the links of hosted CSS in Axure.
However, i was just wondering if there is any other way other than hosted online fonts ?
Like : when i publish/html export could be able to package the fonts along while publishing/html export ?
Using the method on my post, your font is actually included in the CSS of the prototype and will be included when exporting or publishing to AxShare. The key is the font file is base64 encoded and included in the @font-face declaration.
I just posted this in another thread, but you can try using this tool that removes the need to use Terminal to do the conversion. You can upload your font and it will output a string that you can copy and paste into your Axure settings.
The link a.emond posted will take care of it for you, give that a shot. But based on the error message Iām guessing you copy/pasted a line break into your input somewhere.
The fonts that I added in Web fonts were not matching the fonts that I had locally installed. The naming was quite different somehow. Nicely spotted!
Tnx Vikramadhithan for editing my file. The file you edited for me was almost good, but all bold/italic states were not displaying correctly.
I couldnāt find a fix for the different fontnames locally and included in Axure. In the end I fixed it by just using my local fonts locally and using font mappings for external displaying.
I did some testing with your file and Iām seeing that the āFont Awesome 5 Freeā font is correctly rendering in both Chrome and Firefox. Hereās what Iām seeing on my end in Chrome in both the preview and published versions:
Would you happen to be seeing something different on your end? You can check which font being rendered by selecting the text, right-clicking it, and then selecting the āInspect/Inspect Elementā option from the context menu. This will hopefully help get us started with some troubleshooting!
I would like to add custom fonts to Axure, and I am trying to use the blog post mentioned below to do so, but I canāt get past the first step. I am not comfortable using Terminal (not a developer), so I know Iām doing it wrong, but Iām wondering if there is a video tutorial or a tutorial with screen grabs available somewhere so I can SEE what this step looks like in more detail.