You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found issues with some html entities (or am I wrong?)
In jsPDF here are just few symbols/chars that don't work, in my case:
≥ (Greater-Than or Equal To) : no way found;
≤ (Less-Than or Equal To) : no way found;
∼ (Tilde Operator) : it can be read as char or ASCII (not as html entity) .
For the above I tried the standard char, ASCII, html entity, html and hex codes:
≥ : is rendered as : "e
≤ : is rendered as : "d
∼ : is rendered as : "< (if in html is written as entity or code)
They're important: I need them because my tables are chemical specification sheets and limit values must be expressed with these symbols.
Any suggestion please? Thank you.
The text was updated successfully, but these errors were encountered:
Actually jsPDF 2.5.1 readme.md says:
" The 14 standard fonts in PDF are limited to the ASCII-codepage. ", and actually "Greater-Than Or Equal To" and "Less-Than Or Equal To" are NOT included in ASCII table.
But:
the issue affects also the "Tilde Operator", which is in ASCII (read as ASCCI and not html entity)
if only ASCII, why for the other symbols jsPDF reads hex, html entity, all?
These are my questions.
Given the case, I guess that my only solution is to add base64 for the missing symbols.
But if someone can suggest me a better solution, welcome with thanks !
nobody replies here: I minimized a "calibri" font to the strictly necessary and added a second font as base64 to have those symbols) (the other font which I needed to add is Chinese, 10 mb).
Only way, because the jsPDF standard are based on ASCII, i.e. they miss some symbol ... for me this should be an official issue, but it seems nobody cares of this detail
I found issues with some html entities (or am I wrong?)
In jsPDF here are just few symbols/chars that don't work, in my case:
≥ (Greater-Than or Equal To) : no way found;
≤ (Less-Than or Equal To) : no way found;
∼ (Tilde Operator) : it can be read as char or ASCII (not as html entity) .
For the above I tried the standard char, ASCII, html entity, html and hex codes:
≥ : is rendered as : "e
≤ : is rendered as : "d
∼ : is rendered as : "< (if in html is written as entity or code)
They're important: I need them because my tables are chemical specification sheets and limit values must be expressed with these symbols.
Any suggestion please? Thank you.
The text was updated successfully, but these errors were encountered: