BLF: Use Floats for Font Point Sizes

Allow the use of floating-point values for font point sizes, which
allows greater precision and flexibility for text output.

See D8960 for more information, details, and justification.

Differential Revision: https://developer.blender.org/D8960

Reviewed by Campbell Barton
This commit is contained in:
2021-11-13 09:39:18 -08:00
parent e8a8bb67fc
commit 73047c69ea
26 changed files with 67 additions and 74 deletions

View File

@@ -609,7 +609,7 @@ typedef struct uiSafetyRct {
/* interface.c */
void ui_fontscale(short *points, float aspect);
void ui_fontscale(float *points, float aspect);
extern void ui_block_to_region_fl(const struct ARegion *region,
uiBlock *block,