Project

General

Profile

Bug #4377

Custom widget font does not influence the widget size and doesn't propagate from frame down to widgets

Added by Hynek Cihlar over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

Related issues

Related to User Interface - Feature #3876: add support for "direct font control" at the widget level Closed

History

#1 Updated by Hynek Cihlar over 4 years ago

When font number is assigned to a widget, the widget size is adapted to accommodate the assigned font size. This doesn't happen when custom font is assigned with FONT-NAME and FONT-SIZE attributes. Also assigning custom font to a frame (and possibly window) should affect the child widgets the same way as when assigning font number to a frame or window.

#2 Updated by Hynek Cihlar over 4 years ago

Layout calculation of some widgets depends on the set font, but only font number is considered, not the custom font. This must be improved to. The search for references of GuiFontResolver.resolveFontNum() will reveal (most of) the places that only depend on font number.

#3 Updated by Greg Shah over 4 years ago

  • Related to Feature #3876: add support for "direct font control" at the widget level added

Also available in: Atom PDF