Change: - Add system dpi font setting in sequencer
+3 −1 · 1 file changed
-
spa_sequencer/sequence/overlay.py+3 −1
@@ -93,7 +93,9 @@ def draw_shot_strip( # Shot name font_id = 0 blf.color(font_id, *(TEXT_COLOR_ACTIVE if active else TEXT_COLOR_BASE)) - blf.size(font_id, int(11 * bpy.context.preferences.system.ui_scale)) + # Using Blender's system DPI setting + system_dpi = bpy.context.preferences.system.dpi + blf.size(font_id, int(11 * bpy.context.preferences.system.ui_scale), system_dpi) # Compute text dimensions for horizontal centering dims = blf.dimensions(0, strip.name)