Hey there! Sorry about that, I missed that part.
We found a couple bugs in the FreeTextAnnotation that are preventing us from fulfilling all these requirements at once. We are going to investigate ASAP, and it will be fixed in a future version. I will let you know when it is released.
As a side note, you can set the default font size of annotations by using setStyles
instance.docViewer.getTool('AnnotationCreateFreeText').setStyles(function() {
return {
FontSize: '40pt'
};
});
However, this does not interact nicely with the 0pt
trick right now, so it’s kind of one or the other for now. Again, ill let you know when this is fixed!
Thanks,
Logan