Preliminary ACIP->TMW support is in place. {DU} gives you something
less beautiful than what Jskad would give, so more work is needed.
This commit is contained in:
parent
1f4d53be2e
commit
045c4069c9
12 changed files with 355 additions and 64 deletions
|
@ -615,10 +615,8 @@ public class DuffPane extends TibetanPane implements FocusListener {
|
|||
*/
|
||||
public void setRomanAttributeSet(String font, int size) {
|
||||
if (getTibDoc() != null) {
|
||||
SimpleAttributeSet ras = new SimpleAttributeSet();
|
||||
StyleConstants.setFontFamily(ras, romanFontFamily = font);
|
||||
StyleConstants.setFontSize(ras, romanFontSize = size);
|
||||
getTibDoc().setRomanAttributeSet(ras);
|
||||
getTibDoc().setRomanAttributeSet(romanFontFamily = font,
|
||||
romanFontSize = size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue