[Bf-blender-cvs] [db8b5a2316d] master: PyDoc: remove deprecated dpi argument from BLF example

Campbell Barton noreply at git.blender.org
Tue Feb 7 05:15:38 CET 2023


Commit: db8b5a2316d5dfe67edd8e08739901b7ea571ab6
Author: Campbell Barton
Date:   Tue Feb 7 15:10:59 2023 +1100
Branches: master
https://developer.blender.org/rBdb8b5a2316d5dfe67edd8e08739901b7ea571ab6

PyDoc: remove deprecated dpi argument from BLF example

===================================================================

M	doc/python_api/examples/blf.py

===================================================================

diff --git a/doc/python_api/examples/blf.py b/doc/python_api/examples/blf.py
index 094fd9ddc0f..24ac348881f 100644
--- a/doc/python_api/examples/blf.py
+++ b/doc/python_api/examples/blf.py
@@ -37,7 +37,7 @@ def draw_callback_px(self, context):
     # BLF drawing routine
     font_id = font_info["font_id"]
     blf.position(font_id, 2, 80, 0)
-    blf.size(font_id, 50, 72)
+    blf.size(font_id, 50)
     blf.draw(font_id, "Hello World")



More information about the Bf-blender-cvs mailing list