1. 13 9月, 2018 1 次提交
  2. 13 4月, 2018 2 次提交
  3. 01 2月, 2018 1 次提交
    • J
      libtxt: extend Minikin to find a fallback font if its font collection can not... · de34a3e2
      Jason Simmons 提交于
      libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (#4623)
      
      Minikin layout uses a FontCollection containing a list of pre-selected fonts
      for a particular font family.  This patch extends the FontCollection to invoke
      a hook provided by libtxt if layout sees a character that can not be rendered
      by any font in the collection.
      
      * Change the Minikin lock to a recursive mutex.  This is required because the
        fallback font provider may create new fonts during a layout operation that
        already holds the lock.
      * Implement a fallback font provider hook that queries Skia for fonts matching
        an unrecognized character.
      * Maintain a cache of fallback fonts.  Prepopulate the cache with fonts
        covering some commonly used character classes.
      * Add a last resort font list for cases where Skia's font manager can not
        find any font for a character (similar to Blink's FontCache::getLastResortFallbackFont)
      de34a3e2
  4. 30 1月, 2018 2 次提交
    • C
      Revert "libtxt: extend Minikin to find a fallback font if its font collection... · f557f476
      Chris Bracken 提交于
      Revert "libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (#4595)" (#4609)
      
      This reverts commit 9a402241.
      f557f476
    • J
      libtxt: extend Minikin to find a fallback font if its font collection can not... · 9a402241
      Jason Simmons 提交于
      libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (#4595)
      
      Minikin layout uses a FontCollection containing a list of pre-selected fonts
      for a particular font family.  This patch extends the FontCollection to invoke
      a hook provided by libtxt if layout sees a character that can not be rendered
      by any font in the collection.
      
      * Change the Minikin lock to a recursive mutex.  This is required because the
        fallback font provider may create new fonts during a layout operation that
        already holds the lock.
      * Implement a fallback font provider hook that queries Skia for fonts matching
        an unrecognized character.
      * Maintain a cache of fallback fonts.  Prepopulate the cache with fonts
        covering some commonly used character classes.
      * Add a last resort font list for cases where Skia's font manager can not
        find any font for a character (similar to Blink's FontCache::getLastResortFallbackFont)
      9a402241
  5. 17 1月, 2018 1 次提交
  6. 01 12月, 2017 1 次提交
    • B
      Added Windows support for libtxt in order to build flutter_tester.exe (#4395) · da43e7c6
      Ben Konyi 提交于
      * Added Windows support for libtxt in order to build flutter_tester.exe.
      
      Relatively minor changes were needed to get libtxt building on Windows
      (missing/incompatiable headers, the odd syscall, path separators, etc.).
      Windows doesn't render text in the same way as other platforms, so some tests
      that checked for specific pixel offsets are disabled.
      da43e7c6
  7. 29 8月, 2017 1 次提交
  8. 26 8月, 2017 2 次提交