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:
Stephan Aßmus 2005-04-15 15:21:36 +00:00
parent babce6c921
commit 99d36ad1d1

View File

@ -241,7 +241,7 @@ AGGTextRenderer::RenderString(const char* string,
for (int32 i = 0; i < dstLength / 2; i++) {
// line break
/* // line break (not supported by R5)
if (*p == '\n') {
y0 += LineOffset();
x = 0.0;
@ -250,8 +250,7 @@ AGGTextRenderer::RenderString(const char* string,
advanceY = 0.0;
++p;
continue;
}
}*/
const agg::glyph_cache* glyph = fFontManager.glyph(*p);