1. 19 Nov, 2021 9 commits
  2. 18 Nov, 2021 4 commits
  3. 17 Nov, 2021 6 commits
  4. 16 Nov, 2021 3 commits
  5. 15 Nov, 2021 3 commits
  6. 12 Nov, 2021 4 commits
  7. 11 Nov, 2021 6 commits
  8. 10 Nov, 2021 2 commits
    • Shagen Ogandzhanian's avatar
      Assert close enough refactoring (#370) · 39debd70
      Shagen Ogandzhanian authored
      * Introduce helper function fail
      
      * Simplify signatures for assertContentCloseEnough
      
      * In the middle of refactoring
      
      * Don't use nested assertions in assertCloseEnough family of functions
      
      * Platform-aware default epsilon
      
      * Correct one of assertion error messages
      
      * Yet another typo in a commit message
      39debd70
    • Oleksandr Karpovich's avatar
      Common TextBlob Builder (#368) · 3340df22
      Oleksandr Karpovich authored
      * TextBlobBuilder: common appendRun
      
      * TextBlobBuilder: common appendRunPosH
      
      * TextBlobBuilder: canAppendRunWithRSXform, canAppendRunWithPosition, canAppendMultipleTimes
      
      * drop commit (duplicates code from PR #356)
      
      * TextBlobBuilder: nAppendRun impl
      
      * TextBlobBuilder: appendRunPosH impl
      
      * TextBlobBuilder: AppendRunPos impl
      
      * TextBlobBuilder: appendRunRSXform impl
      
      * fix js test
      Co-authored-by: 's avatarOleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
      3340df22
  9. 09 Nov, 2021 3 commits
    • 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
    • Oleksandr Karpovich's avatar
    • Oleksandr Karpovich's avatar
      TextBlob common (#358) · bc86bdc2
      Oleksandr Karpovich authored
      * add TextBlobTest.kt: canMakeFromPos
      
      * add TextBlobTest.kt: getIntercepts
      
      * add TextBlobTest.kt: tightBounds
      
      * add TextBlobTest.kt: blockBounds
      
      * TextBlob: make _nGetBlockBounds code reusable by moving it to commonMain/cpp
      
      * TextBlob: make _nGetTightBounds code reusable by moving it to commonMain/cpp
      
      * TextBlob: make _nGetPositions code reusable by moving it to commonMain/cpp
      
      * TextBlob: make _nGetGlyphs code reusable by moving it to commonMain/cpp
      
      * TextBlob: firstBaseline and lastBaseline
      
      * TextBlob: _nMakeFromPosH
      
      * TextBlob: _nMakeFromRSXform
      
      * TextBlob: _nGetClusters
      
      * fix jni compilation for windows: add reinterpret_cast
      
      * update github action to upload test reports for failing tests too
      
      * update TextBlobTest.kt
      
      * add comment
      
      * PR review improvements
      
      * update epsilon
      
      * update epsilon
      
      * update epsilon
      Co-authored-by: 's avatarOleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
      bc86bdc2