Changeset 1125 for trunk/src/org/apollo


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/apollo/items/EmulatedTextItem.java

    r1102 r1125  
    5757                emulatedSource = new RestrictedTextItem();
    5858                emulatedSource.setPosition(position);
    59                 emulatedSource.setFont(DEFAULT_FONT);
     59                emulatedSource.setFont(DEFAULT_FONT.clone());
    6060                emulatedSource.setText(text);
    6161               
Note: See TracChangeset for help on using the changeset viewer.