Closed vv-monsalve closed 3 years ago
Interestingly, it works for me on Debian GNU/Linux:
On the other hand, if I run it without passing a specific set explicitly, then it seems to detect many sets as "full" support level, which is surely incorrect:
Inspecting it more thoroughly, the reported full sets seem to be accurate. STIXTwo Math contains almost 7 thousand glyphs.
so, I was not able to replicate @vv-monsalve's bug on my computer. I suspect the bad behaviour may be related to the error messages seen on her installation as described at #125
I will later try to replicate this bug on MacOS as well.
No, it is not related to #125 because uni-number-forms
does not use the pyicu module. Instead, it relies on fetching and parsing data directly from http://www.unicode.org/Public/UNIDATA/Blocks.txt
There may be bugs in the parsing of that data.
I've successfully installed pyfontaine from git main on my OSX laptop and it worked well:
I uninstalled fontaine from git (1.4.1-dev) and installed fontaine 1.4.0 form PyPI and I can see the problem. So it seems that we need to publish a new release so that people can benefit from the fix (it must have been fixed recently and I was not aware of it)
![Uploading Captura de Tela 2021-04-16 às 05.26.40.png…]()
@vv-monsalve For now, please git-clone pyfontaine and install it with pip install -e .
form within the root of the repo dir.
Inspecting it more thoroughly, the reported full sets seem to be accurate. STIXTwo Math contains almost 7 thousand glyphs.
Yes, 6760 as we saw the other day, but still it doesn't imply the sets are fully covered ;)
@vv-monsalve For now, please git-clone pyfontaine and install it with
pip install -e .
form within the root of the repo dir.
We did run the pip install https://github.com/googlefonts/pyfontaine/archive/main.zip
command at that moment and we got some Errors also (just in case).
I would try it with the -e
mode and let you know
@felipesanches I've just followed the new instructions, but I'm still receiving the same False Result
@vv-monsalve For now, please git-clone pyfontaine and install it with
pip install -e .
form within the root of the repo dir.
I've cloned the repo, cd to it to be at the root, but pip install -e
is not working. Perhaps I'm missing something, should I change to another directory into it or append anything else to the command?
did you include the dot in the command? There is a dot right after -e
did you include the dot in the command? There is a dot right after
-e
Mhm that was the missing part. I did it now and worked (under a venv).
Great! :-D
Querying individual code points works well but whenever we try to query for a set such as uni-number-forms it says is fully supported while I know that is not.
Pic:
Resources to replicate: https://github.com/stipub/stixfonts/blob/master/fonts/static_ttf/STIXTwoMath-Regular.ttf