Avatar

How can add font file into plugin ?

Nguyễn Hoàng Anh

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!

Follow 3 followers
2

1 comment

Avatar
Sean Tachibana 1 vote

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:
 
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:
 
Hopefully, this helps.
1
Comment actions Permalink