Results 1 to 3 of 3

Thread: Setting RTFont scale.....

  1. #1
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default Setting RTFont scale.....

    It's not practical to make dozens of rtfonts each for a different resolution.
    So I'm left with scaling the text.

    Is there a way to simply set the scale of an RTFont without having to individually set the text scale of every text entity I have?

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,340

    Default

    I set the scale on each entity... (I get the sizing using GetFontAndScaleToFitThisLinesPerScreenY usually) but you could always add a function that creates the text entity and additionally sets the scale. (like a CreateTextLabelEntityEx instead of CreateTextLabelEntity)
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default

    hmm that's one way. thanks

Similar Threads

  1. BGM setting program
    By newbieMGM in forum Suggestion Box
    Replies: 1
    Last Post: 07-23-2013, 02:47 AM
  2. Replies: 8
    Last Post: 05-05-2013, 07:46 AM
  3. Alicat scamming on a huge scale (40+ players)
    By Viking in forum Bugs & Glitches
    Replies: 3
    Last Post: 02-23-2013, 03:46 AM
  4. Scale title map
    By uchiro in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 05-04-2012, 02:53 AM
  5. Scale Images
    By JoseMan in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 05-19-2010, 09:10 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •