remove support for line breaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12416 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -241,7 +241,7 @@ AGGTextRenderer::RenderString(const char* string,
|
|||||||
|
|
||||||
for (int32 i = 0; i < dstLength / 2; i++) {
|
for (int32 i = 0; i < dstLength / 2; i++) {
|
||||||
|
|
||||||
// line break
|
/* // line break (not supported by R5)
|
||||||
if (*p == '\n') {
|
if (*p == '\n') {
|
||||||
y0 += LineOffset();
|
y0 += LineOffset();
|
||||||
x = 0.0;
|
x = 0.0;
|
||||||
@@ -250,8 +250,7 @@ AGGTextRenderer::RenderString(const char* string,
|
|||||||
advanceY = 0.0;
|
advanceY = 0.0;
|
||||||
++p;
|
++p;
|
||||||
continue;
|
continue;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
const agg::glyph_cache* glyph = fFontManager.glyph(*p);
|
const agg::glyph_cache* glyph = fFontManager.glyph(*p);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user