fixed the build, sorry
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12747 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1218d80ff8
commit
e980fe005f
@ -22,7 +22,6 @@
|
||||
#include "AGGTextRenderer.h"
|
||||
#include "DrawingMode.h"
|
||||
#include "DrawingModeFactory.h"
|
||||
#include "FontManager.h"
|
||||
#include "PatternHandler.h"
|
||||
#include "RenderingBuffer.h"
|
||||
#include "ShapeConverter.h"
|
||||
|
@ -244,14 +244,6 @@ AGGTextRenderer::RenderString(const char* string,
|
||||
}
|
||||
if (glyphBounds.IsValid())
|
||||
bounds = bounds.IsValid() ? bounds | glyphBounds : glyphBounds;
|
||||
else {
|
||||
if (bounds.IsValid()) {
|
||||
bounds.right += glyph->advance_x;
|
||||
bounds.bottom += glyph->advance_y;
|
||||
} else {
|
||||
bounds.Set(0.0, 0.0, glyph->advance_x, glyph->advance_y);
|
||||
}
|
||||
}
|
||||
|
||||
// increment pen position
|
||||
advanceX = glyph->advance_x;
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "agg_font_freetype.h"
|
||||
#include "defines.h"
|
||||
|
||||
#include "TextRenderer.h"
|
||||
#include "Transformable.h"
|
||||
|
||||
class ServerFont;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user