Skip to content

Change #shrinkTo: on FreeTypeCache to selectively remove entries rather than all of them#16419

Merged
jecisc merged 7 commits intopharo-project:Pharo13from
Rinzwind:freetypecache-shrinkto
Apr 26, 2024
Merged

Change #shrinkTo: on FreeTypeCache to selectively remove entries rather than all of them#16419
jecisc merged 7 commits intopharo-project:Pharo13from
Rinzwind:freetypecache-shrinkto

Conversation

@Rinzwind
Copy link
Contributor

@Rinzwind Rinzwind commented Apr 7, 2024

This pull request changes #shrinkTo: on FreeTypeCache to selectively remove entries rather than all of them. This avoids some of the ‘stuttering’ that occurs when repeatedly scrolling pages in the Documentation Browser all the way down and back up with the world canvas scale factor set to 2 due to all entries being removed from the cache and many glyphs then having to be readded all at once.

@estebanlm estebanlm changed the base branch from Pharo12 to Pharo13 April 26, 2024 09:10
@MarcusDenker MarcusDenker reopened this Apr 26, 2024
@jecisc jecisc merged commit 8cc083e into pharo-project:Pharo13 Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment