Project

General

Profile

Actions

Improvements #13489

closed

Construct serverside font metrics only once

Added by Matthias Van Ceulebroeck 19 days ago. Updated 4 days ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/04/2025
Due date:
% Done:

100%

Estimated time:

Description

Currently, each item that utilizes serverside font metrics, will construct them in their own class.
This is wasteful, as they rarely change, and may be expensive to set up, as they require calls to Haru/Pango/DirectWrite (from DirectX), and potential setup related to the library.

The WApplication will hold a singular entry, constructed on-demand.

Actions #1

Updated by Matthias Van Ceulebroeck 19 days ago

  • Status changed from InProgress to Review
  • Assignee changed from Koen Deforche to Matthias Van Ceulebroeck
Actions #2

Updated by Matthias Van Ceulebroeck 12 days ago

  • Status changed from Review to Implemented @Emweb
  • % Done changed from 0 to 100
Actions #3

Updated by Matthias Van Ceulebroeck 4 days ago

  • Status changed from Implemented @Emweb to Implemented @Test
Actions #4

Updated by Matthias Van Ceulebroeck 4 days ago

  • Status changed from Implemented @Test to Closed
Actions

Also available in: Atom PDF