SheenFigure
SheenFigure copied to clipboard
An implementation of advanced typographic tables of OpenType specification.
To prevent attacks, impose an upper limit on buffer size and execution time when shaping text. For example, increment a counter on the number of executed OpenType lookups and give...
Even though SFAlbum provides mapping from code unit to glyph index, caret positions need to be calculated manually. The process is very complex as the caret should not stop at...
A wrapper should be written for SheenFigure to support [Text Rendering Tests](https://github.com/unicode-org/text-rendering-tests). It would be very useful to check where the implementation stands from the Unicode community's perspective.
Since travis ci does not support windows for c/cpp projects, [appveyor](https://www.appveyor.com) should be integrated for that purpose.
This fixes 39 C++ compiler warnings when building SheenFigure with Apple clang 15.0.0. For example, after this change, the following warning does not get emitted anymore: ``` Compiling C++ object...
This fixes 74 C++ compiler warnings when building SheenFigure with Apple clang 15.0.0. For example, after this change, the following warning does not get emitted anymore: ``` Compiling C++ object...
This fixes the following warning when compiling with Apple clang 15.0.0: ``` Compiling C++ object libparser.dylib.p/Tools_Parser_ArabicShaping.cpp.o ../Tools/Parser/ArabicShaping.cpp:37:5: warning: field 'm_offsets' will be initialized after field 'm_firstCodePoint' [-Wreorder-ctor] m_offsets(0x200000), ^~~~~~~~~~~~~~~~~~~ m_lastCodePoint(0)...
On my machine, which runs on macOS X 14.0 with Apple clang version 15.0.0, the tests can be built successfully. However, sheenfigure_tester segfaults, so the unit tests are failing. To...