==============================================================================
Done since 0.20.4 release
+- Fixed leader expansion and leader alignment to reference area to some
+ extent(#7490 and #15936).
- Temporary fix for wrong mapping of the hyphen character in the PostScript
renderer. Needs to be done in a clean way later.
Submitted by: Arnd Beissner <arnd.beissner@cappelino.de>
// appending indent space leader-alignment setting
// InlineSpace to false, so it is not used in line
// justification
- System.out.println("align, space="+spaceBeforeLeader);
if (spaceBeforeLeader > 0) {
children.add(idx, new InlineSpace(spaceBeforeLeader,
false));
// appending indent space leader-alignment setting
// InlineSpace to false, so it is not used in line
// justification
- System.out.println("align, space="+spaceBeforeLeader);
if (spaceBeforeLeader > 0) {
children.add(idx, new InlineSpace(spaceBeforeLeader,
false));
int leaderLengthOptimum, int leaderLengthMaximum,
int ruleStyle, int ruleThickness,
int leaderPatternWidth, int leaderAlignment) {
- System.out.println(
- "min="+leaderLengthMinimum+
- " opt="+leaderLengthOptimum+
- " max="+leaderLengthMaximum+
- " th="+ruleThickness+
- " al="+leaderAlignment);
if (leaderLengthMinimum>leaderLengthOptimum
|| leaderLengthOptimum>leaderLengthMaximum) {
MessageHandler.errorln("leader sizes wrong");
}
}
}
+ break;
default:
MessageHandler.errorln("bad align: "+type);
+ break;
}
}
private String text;
- // Textdecoration
- protected boolean underlined = false;
- protected boolean overlined = false;
- protected boolean lineThrough = false;
-
-
public WordArea(FontState fontState, float red, float green, float blue,
String text, int width) {
super(fontState, width, red, green, blue);
return this.text;
}
- public void setUnderlined(boolean ul) {
- this.underlined = ul;
- }
-
- public boolean getUnderlined() {
- return this.underlined;
- }
-
}