Skip to content
Snippets Groups Projects
Commit 31fec864 authored by Leonard Kupper's avatar Leonard Kupper
Browse files

Fix missing language parameter in write line. (Unintentionally removed in merge)

parent 48b0f635
No related branches found
No related tags found
1 merge request!42Legend rasterizer column views
...@@ -189,7 +189,7 @@ public class LegendRasterizer implements Rasterizer<Legend> { ...@@ -189,7 +189,7 @@ public class LegendRasterizer implements Rasterizer<Legend> {
int textLength = mTextRasterizer.getBrailleStringLength(text); int textLength = mTextRasterizer.getBrailleStringLength(text);
int textHeight = max(1, (int) Math.ceil(textLength / cellArea.getWidth())); int textHeight = max(1, (int) Math.ceil(textLength / cellArea.getWidth()));
Rectangle textLineDotArea = mCanvas.toDotRectangle(cellArea.removeFromTop(textHeight)); Rectangle textLineDotArea = mCanvas.toDotRectangle(cellArea.removeFromTop(textHeight));
mTextRasterizer.rasterize(new BrailleText(text, textLineDotArea), mCanvas); mTextRasterizer.rasterize(new BrailleText(text, textLineDotArea, getLanguage()), mCanvas);
return min(textLength, cellArea.intWrapper().getWidth()); return min(textLength, cellArea.intWrapper().getWidth());
} }
......
...@@ -57,7 +57,7 @@ format.default.margin.right=0 ...@@ -57,7 +57,7 @@ format.default.margin.right=0
### Diagram Formatting ### Diagram Formatting
### ================== ### ==================
representation.general.brailleLanguage=DE_BASISSCHRIFT representation.general.brailleLanguage=DE_KURZSCHRIFT
representation.general.nonexistentDataText=n/a representation.general.nonexistentDataText=n/a
representation.general.legendKeyword=Legende: representation.general.legendKeyword=Legende:
representation.general.maxTitleHeight=2 representation.general.maxTitleHeight=2
......
...@@ -56,7 +56,7 @@ format.default.margin.right=10 ...@@ -56,7 +56,7 @@ format.default.margin.right=10
### Diagram Formatting ### Diagram Formatting
### ================== ### ==================
representation.general.brailleLanguage=DE_BASISSCHRIFT representation.general.brailleLanguage=DE_KURZSCHRIFT
representation.general.nonexistentDataText=n/a representation.general.nonexistentDataText=n/a
representation.general.legendKeyword=Legende: representation.general.legendKeyword=Legende:
representation.general.maxTitleHeight=2 representation.general.maxTitleHeight=2
......
...@@ -45,7 +45,7 @@ format.default.margin.right=0 ...@@ -45,7 +45,7 @@ format.default.margin.right=0
### Diagram Formatting ### Diagram Formatting
### ================== ### ==================
representation.general.brailleLanguage=DE_BASISSCHRIFT representation.general.brailleLanguage=DE_KURZSCHRIFT
representation.general.nonexistentDataText=n/a representation.general.nonexistentDataText=n/a
representation.general.legendKeyword=Legende: representation.general.legendKeyword=Legende:
representation.general.maxTitleHeight=2 representation.general.maxTitleHeight=2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment