Ignore:
Timestamp:
09/13/18 12:30:53 (6 years ago)
Author:
bln4
Message:

org.apollo.items.EmulatedTextItem ->
org.expeditee.agents.GraphFramesetLinks ->
org.expeditee.gio.FontManager ->
org.expeditee.gio.javafx.JavaFXFontManager ->
org.expeditee.gio.swing.SwingFontManager ->
org.expeditee.gui.MessageBay ->
org.expeditee.io.WebParser ->
org.expeditee.items.Text ->

The above files are been altered so that there is no longer any chance Font references will be shared amongst Text Items. How default Fonts are used has been altered so that a Text Item using the default font remember that this is the case. This is a follow up to an initial fix for the same problem that turned out to be insufficient.

File:
1 edited

Legend:

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

    r1102 r1125  
    948948                                        t.setColor(rgbStringToColor(color));
    949949                                        t.setBackgroundColor(rgbStringToColor(bgColorString));
    950                                         t.setFont(font);
     950                                        t.setFont(font.clone());
    951951                                        t.setSize(fontSizeFloat);
    952952                                        t.setFontStyle(fontStyleComplete);
     
    14241424                                t.setColor(rgbStringToColor(color));
    14251425                                t.setBackgroundColor(rgbStringToColor(bgColorString));
    1426                                 t.setFont(font);
     1426                                t.setFont(font.clone());
    14271427                                t.setSize(fontSizeFloat);
    14281428                                t.setFontStyle(fontStyleComplete);
Note: See TracChangeset for help on using the changeset viewer.