Skip to content

Arcade (pyglet?) improperly rendering text #2484

Closed
@elegantiron

Description

@elegantiron

Bug Report

Letters in arcade.Text objects are cut off if they overlap other letters. This is possibly a regression of #937.

System Info

Arcade 3.0.0.dev40
------------------
vendor: Intel
renderer: Intel(R) Arc(TM) A580 Graphics
version: (3, 3)
python: 3.12.8 (tags/v3.12.8:2dc476b, Dec  3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)]
platform: win32
pyglet version: 2.1.rc1
PIL version: 11.0.0

Actual behavior:

python_Moawih5Rsh

Expected behavior:

Letters are not cut off

Steps to reproduce/example code:

I'm not sure how to attach the font in question, but it can be obtained from dafont.com (direct link) with a 100% free license.

self.title_text = arcade.Text(
    Strings.TITLE,
    self.width // 2,
    self.height - 10,
    arcade.color.RUBINE_RED,
    50,
    anchor_x="center",
    anchor_y="top",
    batch=self.batch,
    font_name="FairydustB"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions