1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

Legacy GM Issues with spaces with font_add_sprite()

Discussion in 'Programming' started by PCthu, Apr 25, 2017.

  1. PCthu

    PCthu Guest

    I am using Game Maker 8.1. I am trying to create a custom font using font_add_sprite(), but when I test the font it seems to act as though the spaces have a negative size. That is to say, whenever a space should appear, it instead puts the following character overlapping the previous character in the string.

    The code I am using is
    Code:
    font_add_sprite(font_spr,ord(" "),1,4)
    It works fine if proportional is set to 0, except I want it to be proportional.
     

Share This Page