pixelWidthCalculator.html file added on build
Merlin04 opened this issue · 1 comments
Merlin04 commented
When I build my Blazor WASM app with GGNet, a file called _content/GGNet/pixelWidthCalculator.html
is added. What is it for, and if it is not used is there a way to remove it?
pablofrommars commented
It's a script to evaluate rendered width of ASCII characters for a given font. GG.Net approximates length of text from the output of the script. I am planning to replace this static approach with some optional JS interaction when ligature and kerning needs to be taken into account for better rendering accuracy.