Start a new topic
iink SDK on Device
editor.setTheme("glyph.text { font-weight: 900; font-size: 10} ");
I am trying to change font size of converted text, but it is not reflecting on text block of text document. Is it possible?
Dear Dipannita,
I guess you are in a "Text Document" part and not a "Text" part?
Indeed, as indicated in the documentation: https://developer.myscript.com/docs/interactive-ink/1.3/reference/styling/#text
Currently the .textfont-size and line-height parameters only affect “Text” content type, not “Text Document”.
.text
font-size
line-height
Best regards,
Olivier
currently, you shall apply the setTheme as follows: editor.setTheme(".text{font-weight: 900; font-size: 10;}");
I have used editor.setTheme(".text{font-weight: 900; font-size: 30;}"); but has no effect on converted text. Please check bellow
Dipannita Das
editor.setTheme("glyph.text { font-weight: 900; font-size: 10} ");
I am trying to change font size of converted text, but it is not reflecting on text block of text document. Is it possible?
Dear Dipannita,
I guess you are in a "Text Document" part and not a "Text" part?
Indeed, as indicated in the documentation: https://developer.myscript.com/docs/interactive-ink/1.3/reference/styling/#text
Currently the
.text
font-size
andline-height
parameters only affect “Text” content type, not “Text Document”.Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Dipannita,
currently, you shall apply the setTheme as follows: editor.setTheme(".text{font-weight: 900; font-size: 10;}");
Best regards,
Olivier
Dipannita Das
I have used editor.setTheme(".text{font-weight: 900; font-size: 30;}"); but has no effect on converted text. Please check bellow
Olivier @MyScript
Dear Dipannita,
I guess you are in a "Text Document" part and not a "Text" part?
Indeed, as indicated in the documentation: https://developer.myscript.com/docs/interactive-ink/1.3/reference/styling/#text
Currently the
.text
font-size
andline-height
parameters only affect “Text” content type, not “Text Document”.Best regards,
Olivier