Forum How do I...?

Mathematical symbol on PDF

blaise.fonseca
I have Prince installed on a docker container with some fonts, however Prince converts mathematical symbols for eg. ㎥ to ?, any idea what I am doing wrong?

Prince version : prince-12.5-linux-generic-x86_64
OS : Linux 66bfb7c16125 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 GNU/Linux
Fonts :
fonts-opensymbol \
fonts-crosextra-carlito \
fonts-dejavu \
fonts-liberation \
fonts-takao-gothic \
fontconfig \
mikeday
The ㎥ character and similar characters may only be found in some East Asian fonts, like the Arphic Chinese fonts (AR PL UMing CN for example), as they are designed to fit in with ideographic layouts.

For latin text I would recommend decomposing the character with this CSS rule:
* { prince-text-replace: "㎥" "m\B3" }

Splitting it into a separate m + superscript three will make it a lot easier to render.
blaise.fonseca
Thank you, it works