# gpui: Rewrite Windows \`PlatformTextSystem\` for better performance \(\#48087\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/fb428b5a503af5238e68fcacbaa0492eb55e0d5c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: fb428b5a503af5238e68fcacbaa0492eb55e0d5c

Requested commit: fb428b5a503af5238e68fcacbaa0492eb55e0d5c

Commit: fb428b5a503af5238e68fcacbaa0492eb55e0d5c

Tree: b73df45050548e6c7bbf058e9b4099ac33cd4bb0

Author: Lukas Wirth

Committer: GitHub

## Message

```
gpui: Rewrite Windows `PlatformTextSystem` for better performance (#48087)

The current setup is quite a mess, allocates a ton of unnecessary heap
data when rendering text or querying font info and not really caching
things well, this PR changes that.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

- [2570382f88596a18ac66ee5ec02ae7ac1524dfd3](https://git.cafe/gitcafe/zed/commit/2570382f88596a18ac66ee5ec02ae7ac1524dfd3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/fb428b5a503af5238e68fcacbaa0492eb55e0d5c?format=markdown)
