• Shagen Ogandzhanian's avatar
    Typeface commonization (#356) · ab3e19e4
    Shagen Ogandzhanian authored
    * 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: 's avatarNikolay Igotti <igotti@gmail.com>
    ab3e19e4
Name
Last commit
Last update
.github/workflows Loading commit data...
.run Loading commit data...
gradle/wrapper Loading commit data...
samples Loading commit data...
skiko Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...