Changeset 661


Ignore:
Timestamp:
01/07/14 16:17:40 (10 years ago)
Author:
jts21
Message:

Fix KMSReader to use the correct params for spacing methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/io/KMSReader.java

    r584 r661  
    103103
    104104                        _ItemTags.put("f", Text.class.getMethod("setFont", pFont));
    105                         _ItemTags.put("t", Text.class.getMethod("setSpacing", pInt));
     105                        _ItemTags.put("t", Text.class.getMethod("setSpacing", pFloat));
    106106                        _ItemTags.put("T", Text.class.getMethod("appendText", pString));
    107107
    108108                        _ItemTags.put("a", Text.class.getMethod("setWordSpacing", pInt));
    109                         _ItemTags.put("b", Text.class.getMethod("setLetterSpacing", pInt));
    110                         _ItemTags.put("m", Text.class.getMethod("setInitialSpacing", pInt));
     109                        _ItemTags.put("b", Text.class.getMethod("setLetterSpacing", pFloat));
     110                        _ItemTags.put("m", Text.class.getMethod("setInitialSpacing", pFloat));
    111111                        _ItemTags.put("w", Text.class.getMethod("setWidth", pIntO));
    112112                        _ItemTags.put("k", Text.class.getMethod("setJustification", pJustification));
Note: See TracChangeset for help on using the changeset viewer.