Typeface commonization (#356)
* Split TypefaceTest to the part that passes on all platforms and on JVM only
* Breaking for jvm in order to move faster to newer syntax
* org_jetbrains_skia_Typeface__1nGetVariationAxes returns nothing
* Introduce _nGetVariationAxesCount (for JVM only so far)
* Pass count to _nGetVariationAxesCount
* Finally passing the right way
* SOME DEBUG
* org_jetbrains_skia_Typeface__1nGetVariationAxes for native and js
* Restore axis on all platforms
* Passing isHidden boolean flag as a separate int field
* org_jetbrains_skia_Typeface__1nGetVariations on native and js
* Preparations for taming org_jetbrains_skia_Typeface__1nGetTableTags on js and native platforms
* org_jetbrains_skia_Typeface__1nGetTableTags on js and native platforms
* Preparations for commonization of org_jetbrains_skia_Typeface__1nGetUTF32Glyphs
* getUTF32Glyphs commonized
* Minor code rearrangments in preparations of getKerningPairAdjustments commonization
* Passing count to _nGetKerningPairAdjustments
* if (glyphs.size > 0) { _nGetKerningPairAdjustments(_ptr, glyphs, glyphs.size)} else null
* Refactor org_jetbrains_skia_Typeface__1nGetKerningPairAdjustments on JVM and prepare commonization
* cross-platform actual fun String.intCodePoints()
* Uncomment yet another assertion
* Preparations for conquering family names
* Passing variations count separately
* Passing raw value to Java_org_jetbrains_skia_TypefaceKt__1nMakeClone
* org_jetbrains_skia_Typeface__1nMakeClone commonized
* org_jetbrains_skia_Typeface__1nMakeClone commonized- fix for native
* Wrap _nMakeClone with _nMakeClone rather than wrapping param
* Fix interop scope wrapping at getUTF32Glyphs
* Finally fix org_jetbrains_skia_Typeface__1nMakeClone for js
* Narrow down familyNames to JVM test only
(I want to have a separate PR about Array<String>)
* Explicitely casting so that Typeface.cc compiles on macos and win
* Better intCodePoints() implementation for js/native
* Fix test
* Removed redundant helper array that was a trace of direct jvm port
* Get rid of yet another redundant jvm-copied idiom
Co-authored-by:
Nikolay Igotti <igotti@gmail.com>
Showing
Please register or sign in to comment