Fontmachine bug on metrics info?

Jungle Ide Home Forums FontMachine FontMachine open source module Fontmachine bug on metrics info?

This topic contains 1 reply, has 2 voices, and was last updated by  Ziggy 7 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2557

    TheRedFox
    Participant

    In the BitmapFont class:

    Code:
    #rem
    summary:This method returns the drawing char info of the given face character.
    #end
    Method GetFaceInfo:BitMapCharMetrics(char:Int)
    if index>=0 And index<faceChars.Length() Then
    Return faceChars[char].drawingMetrics
    End
    End

    #rem
    summary:This method returns the drawing char info of the given border character.
    #end
    Method GetBorderInfo:BitMapCharMetrics(char:Int)
    if index>=0 And index<borderChars.Length() Then
    Return borderChars[char].drawingMetrics
    End
    End

    #rem
    summary:This method returns the drawing char info of the given shadow character.
    #end
    Method GetShadowInfo:BitMapCharMetrics(char:Int)
    if index>=0 And index<shadowChars.Length() Then
    Return shadowChars[char].drawingMetrics
    End
    End

    I guess that index should be char…

    #3217

    Ziggy
    Keymaster

    Yes! We need refactoring… Fixing…

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.