AN Zhigang

Results 16 comments of AN Zhigang

@kostub I had the same issue. I modified sizeThatFits method in MTMathLabel.m into something like this: if (calculatedWidth >= size.width) { size.width = calculatedWidth; } if (calculatedHeight >= size.height) {...

I open this issue because there is a possibility a user would render a latex string like "1+2+...+1000", and the user really inputs every term instead of using a summation....

@kekearif I believe Chinese characters are skipped because the provided fonts DO NOT include any Chinese character. You can check it using any font viewing apps. After you add the...

@kekearif Adding Chinese font would NOT work, at least not easily. I don't know how pdfLaTeX and xeCJK implement limited simplified Chinese support. But if you want to support only...

@kekearif Ignore my last comment, it works. After diving into the code, I found in file `MTMathAtomFactory.m`, method `+ (MTMathAtom *)atomForCharacter:(unichar)ch`, parser ignores any character out of the Unicode range...

@kekearif I just issued a pull request which added Chinese feature to iosMath. Check out [this pull request](https://github.com/kostub/iosMath/pull/29).

@kekearif Yep. @kostub makes a great project.

@kekearif But why that pull request closed by its issuer? MathJax is way too slow. I would not use it on any iOS device. I was using MathJax, and I...

@wingsiu I don't think this is an easy task. Since all fonts/characters are rendered by bezier path, and fill the path with one given font color (default is black), while...

@kostub If you want a monochrome version, or the plain version, I don't think there would be any problem. But I don't see any code that handles colorful glyph, just...