How can add font file into plugin ?

Hello,

I have a font file example : MSGothic.tff, (downloaded from https://www.fontpalace.com/font-download/MS+Gothic/)
How can i add it to plugin?

Thank you!

Dear Nguyễn,

The plug-in itself assumes the image is in JS, CSS, and HTML packaging, so adding a ttf would be difficult.

Here is a website that explains how to work using CSS

 

CSS Web Fonts:

https://www.w3schools.com/css/css3_fonts.asp

 

Also, below is an article that explains create-plugin, a plug-in development tool designed to make the development of Kintone plug-ins easier.

Create-plugin is a CLI tool that allows users to create templates of Kintone plug-ins through interactive dialogue in the command prompt or terminal.

 

Creating a plug-in template using create-plugin:

https://developer.kintone.io/hc/en-us/articles/360008865353

 

Hopefully, this helps.