Math

Answered

Math Conversion Size

While converting ink for 1st time the size of the converted stroke is small. is there any way to resize the stroke? 


Best Answer

Hi,


I have not been able to reproduce your issue with the react integration example:

https://github.com/MyScript/web-integration-samples/tree/master/react-integration-examples


I simply modified the content type from TEXT to MATH and added a button that calls the following function:

  function convert() {
    editorRef.current.editor.convert();
  }



Best regards,


Gwenaëlle


Answer

Hi,


I have not been able to reproduce your issue with the react integration example:

https://github.com/MyScript/web-integration-samples/tree/master/react-integration-examples


I simply modified the content type from TEXT to MATH and added a button that calls the following function:

  function convert() {
    editorRef.current.editor.convert();
  }



Best regards,


Gwenaëlle

Hello,


Thank you for contacting us.


Which API are you using ? the native APIs or the Web APIs?


If your question is related to the math font size of the converted typeset, it is not possible to tune this font size, as it is automatically computed by the engine.


Best regards,


Gwenaëlle

Hi,

I am using math web API. 

I wrote like this. I using the smaller sketch area and the conversion is very small than the handwritten one. is there anything I can do for resizing it?

image



image


Thanks for your support.


Hello,


Thank you for your update.

Can you further detail whether you are using the REST APi? The iinkJS?

How do you then display the conversion result?


Best regards,


Gwenaëlle

Hi,

Thank you for your swift response.

I am using iinkjs package in react js project.

I am just using the convert function like this "this.editorRef.current.editor.convert()".