-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track RFC98: Text Placement Refactoring #4673
Comments
- implement complex scrit shaping via harfbuzz - refactor text rendering pipeline - remove support for GD renderer - remove support for deprecated annotation layers
@tbonfort I was just wondering for this item "implement a global freetype glyph/font cache" does that mean that there should be a single global font cache for all threads? Seems the code only uses it if not using |
@NathanW2 I assume this has been implemented to avoid the cost of thread locking in exchange for the cost of duplicating the cache elements (for the same file). It may also be OS dependent that keeping the file open or limit the lifetime of the open handles would be more sufficient. I think on a production server with high load (ie. high number of threads in a process and high number of drawing sessions per second) limiting the lifetime of the open handles would be more scalable. |
The locking be from the cache being read/write vs just read right?
…On Wed, Nov 29, 2017 at 9:55 PM, Tamas Szekeres ***@***.***> wrote:
@NathanW2 <https://github.com/nathanw2> I assume this has been
implemented to avoid the cost of thread locking in exchange for the cost of
duplicating the cache elements (for the same file). It may also be OS
dependent that keeping the file open or limit the lifetime of the open
handles would be more sufficient. I think on a production server with high
load (ie. high number of thread in a process and high number of drawing
sessions per second) limiting the lifetime of the open handles would be
more scalable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4673 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXS3GGkN4sshkHecU3bXIFjE3KjjI8Mks5s7UZGgaJpZM4AxI2d>
.
|
Not sure what you mean, we might either read or write the cache structure in a single operation. |
Track RFC98 implementation
The text was updated successfully, but these errors were encountered: