Skip to content

[rTexPacker] Being able to download older versions of the tool because behavior changed in 5.5 #61

Description

@BurgerBob

Hello,

It would be useful to be able to download older versions of the tool when you buy it.

Last version changed the behavior of font packing that makes it unusable to load it in raylib XNA style.
It does not generate empty characters when they are not in the font.

Example with Poco:

Image

With 5.5:

Image

Activity

  1. BurgerBob commented on Dec 4, 2025

    @BurgerBob
    Author

    I managed to get to 5.0 with this link https://www.raylibtech.com/rtexpacker/
    It seems that it exports the same file, I think I had to edit it by hand to add the empty characters ? I do not remember.

  2. changed the title [-][rTexPacker] Being able to download older versions of the tool because behavior changed in 5.5[/-] [+][`rTexPacker`] Being able to download older versions of the tool because behavior changed in 5.5[/+] on Dec 9, 2025
  3. raysan5 commented on Dec 9, 2025

    @raysan5
    Collaborator

    @BurgerBob Not sure if I understand it correctly, do you mean you need the empty glyphs because XNA parses the image and expects a specific order or characters, is it right? I think I see the issue...

  4. BurgerBob commented on Dec 9, 2025

    @BurgerBob
    Author

    Yes, I need the empty Glyphs because I use this function in RayLib:

    // Load an Image font file (XNA style)
    Font LoadFontFromImage(Image image, Color key, int firstChar)
    
  5. raysan5 commented on Dec 9, 2025

    @raysan5
    Collaborator

    @BurgerBob mmmh... I see, I created that function 12 years ago... probably it should be declared obsolete at this point, maybe change last function parameter by an array of codepoints... 🤔

  6. BurgerBob commented on Dec 9, 2025

    @BurgerBob
    Author

    I think it is quite convenient to be able to load a texture file as a font (using first char as 32) and it just works. Maybe It works well in my case because it is a pixel art font.

    I could also put a list of codepoints next to each font file and integrate that in my asset building system, that would not be too complicated I guess ... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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