@@ -400,6 +400,10 @@ def _place_text(
400400 yposition ,
401401 text_palette_index = 1 ,
402402 background_palette_index = 0 ,
403+ print_only_pixels = True , # print_only_pixels = True: only update the bitmap where the glyph
404+ # pixel color is > 0. This is especially useful for script fonts where glyph
405+ # bounding boxes overlap
406+ # Set `print_only_pixels=False` to write all pixels
403407 ):
404408 # placeText - Writes text into a bitmap at the specified location.
405409 #
@@ -514,10 +518,16 @@ def bounding_box(self):
514518 # return self._scale
515519
516520 # @scale.setter
521+ # #@displayio.Group.scale.setter
517522 # def scale(self, new_scale):
518523 # self._scale=new_scale
519524 # #super(displayio.Group, self).scale.fset(self, new_scale)
520- # anchored_position=self._anchored_position # update the anchored_position
525+ # self.anchored_position=self._anchored_position # update the anchored_position
526+ # #displayio.Group.scale.__set__(self, new_scale)
527+ # #displayio.Group.scale=new_scale
528+ # #setattr(super(), "scale", new_scale)
529+ # #setattr(self, "scale", new_scale)
530+ # super(displayio.Group, self).scale.__set__(self, new_scale)
521531
522532 def set_scale (self , new_scale ):
523533 """Set the scaling of the label"""
0 commit comments