I encode it manually instead:

1. download the font file, for example, `FiraCode-VF.woff2`
2. `base64 
'/Users/linonetwo/Downloads/Fira_Code_v6.2/woff2/FiraCode-VF.woff2' -o 
'/Users/linonetwo/Downloads/Fira_Code_v6.2/woff2/FiraCode-VF.woff2.base64.txt'` 
  
as said in 
https://stackoverflow.com/questions/26867893/converting-and-rendering-web-fonts-to-base64-keep-original-look
3. put base64 string in the `
src: url('data:@file/octet-stream;base64,yourbase64');
   as said in 
https://stackoverflow.com/questions/35120217/base64-encoded-opentype-font-face-using-data-uri

An example: 
https://github.com/tiddly-gittly/itonnote-theme/commit/ff75e1ae913d7443d89e7838b10ced8ef4c7e461
在2017年10月2日星期一 UTC+8 06:32:39<Thomas Elmiger> 写道:

> Hi all
>
> Like Mario and Josiah I prefer the SVG way. I tried to make the graphics 
> accessible and translatable too. 
>
> So here’s a little plugin to add HarveyBalls to your wikis: 
> http://tid.li/tw5/plugins.html#%24%3A%2Fplugins%2Ftelmiger%2FHarveyBalls 
>
> Make a backup, drag it over, try it and let me know how it goes. Answers 
> might take some time.
>
> Have a good moonshine night!
> Thomas
>
>
> Am Sonntag, 1. Oktober 2017 11:04:23 UTC+2 schrieb PMario:
>
>>
>> Why don't you implement them as SVGs. It will be much less trouble.  And 
>> the SVGs should be simple.
>>
>> -m
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/067180b0-1e3d-4b84-9bae-0132a763ecbcn%40googlegroups.com.

Reply via email to