Commits on Source (2)
-
Charlie Jiang authored
* src/ftinspect/engine/mmgx.cpp, src/ftinspect/engine/mmgx.hpp: Load the default values of MMGX axes from the named instance instead of the global default one. * src/ftinspect/engine/engine.cpp, src/ftinspect/engine/engine.hpp: Switch the named instance using `FT_Set_Named_Instance` when loading fonts.
-
Charlie Jiang authored
Now the named instance selector no longer doubles the default named instance. `FT_Get_Default_Named_Instance` is used to get the default NI index. The default one is labeled as " (default)". * src/ftinspect/widgets/tripletselector.cpp: Properly handle the new 1-based named instance indices. Label the default NI correctly. * src/ftinspect/engine/engine.cpp, src/ftinspect/engine/engine.hpp: Add `Engine::defualtNamedInstanceIndex`. * src/ftinspect/engine/mmgx.cpp: Change comments.