Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W webkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • App_Technologies
  • webkit
  • Repository

Switch branch/tag
  • webkit
  • Source
  • WebCore
  • platform
  • graphics
  • WidthIterator.cpp
Find file BlameHistoryPermalink
  • allan.jensen@digia.com's avatar
    Font's fast code path doesn't handle partial runs correctly when kerning or ligatures are enabled · 5fb0af8e
    allan.jensen@digia.com authored Aug 27, 2013
    https://bugs.webkit.org/show_bug.cgi?id=100050
    
    Reviewed by Darin Adler.
    
    Renamed m_characterIndex to m_characterIndexOfGlyph and gave it an inline size of 10,
    which covers around 66% of all cases. The rest of the cases are now preallocated to the
    upper limit which is length of the original TextRun.
    
    * platform/graphics/FontFastPath.cpp:
    (WebCore::Font::getGlyphsAndAdvancesForSimpleText):
    (WebCore::Font::selectionRectForSimpleText):
    (WebCore::Font::offsetForPositionForSimpleText):
    * platform/graphics/WidthIterator.cpp:
    (WebCore::WidthIterator::WidthIterator):
    (WebCore::WidthIterator::advanceInternal):
    * platform/graphics/WidthIterator.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5fb0af8e

Replace WidthIterator.cpp

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.