projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Textlabel bug if size height is bigger than 16384
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
text
/
text-visual.h
diff --git
a/dali-toolkit/internal/visuals/text/text-visual.h
b/dali-toolkit/internal/visuals/text/text-visual.h
index
fa7ca4e
..
c79c254
100644
(file)
--- a/
dali-toolkit/internal/visuals/text/text-visual.h
+++ b/
dali-toolkit/internal/visuals/text/text-visual.h
@@
-193,6
+193,7
@@
private:
{
unsigned char* textBuffer;
unsigned char* styleBuffer;
{
unsigned char* textBuffer;
unsigned char* styleBuffer;
+ unsigned char* overlayStyleBuffer;
unsigned char* maskBuffer;
int width;
int height;
unsigned char* maskBuffer;
int width;
int height;
@@
-203,6
+204,7
@@
private:
TilingInfo(int width, int height, Pixel::Format textPixelFormat)
: textBuffer(NULL),
styleBuffer(NULL),
TilingInfo(int width, int height, Pixel::Format textPixelFormat)
: textBuffer(NULL),
styleBuffer(NULL),
+ overlayStyleBuffer(NULL),
maskBuffer(NULL),
width(width),
height(height),
maskBuffer(NULL),
width(width),
height(height),
@@
-222,6
+224,10
@@
private:
{
free(styleBuffer);
}
{
free(styleBuffer);
}
+ if(overlayStyleBuffer)
+ {
+ free(overlayStyleBuffer);
+ }
if(maskBuffer)
{
free(maskBuffer);
if(maskBuffer)
{
free(maskBuffer);