iink SDK on Device

Answered

How to include font size and font style while convert drawing text to html

Hi guys,

I'm using iOS SDK and setting penSize by set IINKEditor's penStyle with `-myscript-pen-width font-size font-style`, but while i convert it to html the font-size font-style didn't apply to the converted html, how to hand writing to bold font, Any ideas ?


Best Answer

Dear Xiaoming Jin,


thank you for contacting us and your question.


Currently, as you are in a "Text Document" part, the text font-size is not affected when changing the value: https://developer.myscript.com/docs/interactive-ink/1.3/reference/styling/#text


One way could consist in using a "Text" part, but the latter doesn't allow to export in html but only text, JIIX, JPEG and PNG.


Best regards,


Olivier

1 Comment

Answer

Dear Xiaoming Jin,


thank you for contacting us and your question.


Currently, as you are in a "Text Document" part, the text font-size is not affected when changing the value: https://developer.myscript.com/docs/interactive-ink/1.3/reference/styling/#text


One way could consist in using a "Text" part, but the latter doesn't allow to export in html but only text, JIIX, JPEG and PNG.


Best regards,


Olivier