X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Ftext-abstraction%2Fglyph-info.h;h=6bf9208f53511950d573b223dbd431022e656fbb;hb=4e2cc9973282667c2461964cf4054a3b7addc6d3;hp=e257da97180e9b39a65a575999478501887c0864;hpb=91625bcb64fca3d99bcd041b9d2944c25f52e4ac;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/text-abstraction/glyph-info.h b/dali/devel-api/text-abstraction/glyph-info.h index e257da9..6bf9208 100644 --- a/dali/devel-api/text-abstraction/glyph-info.h +++ b/dali/devel-api/text-abstraction/glyph-info.h @@ -18,7 +18,7 @@ * */ -// INTERNAL INCLUDES +// EXTERNAL INCLUDES #include #include @@ -44,14 +44,16 @@ struct DALI_ADAPTOR_API GlyphInfo */ GlyphInfo( FontId font, GlyphIndex i ); - FontId fontId; ///< Identifies the font containing the glyph - GlyphIndex index; ///< Uniquely identifies a glyph for a given FontId - float width; ///< The width of the glyph - float height; ///< The height of the glyph - float xBearing; ///< The distance from the cursor position to the leftmost border of the glyph - float yBearing; ///< The distance from the baseline to the topmost border of the glyph - float advance; ///< The distance to move the cursor for this glyph - float scaleFactor; ///< The scaling applied (fixed-size fonts only) + FontId fontId; ///< Identifies the font containing the glyph + GlyphIndex index; ///< Uniquely identifies a glyph for a given FontId + float width; ///< The width of the glyph + float height; ///< The height of the glyph + float xBearing; ///< The distance from the cursor position to the leftmost border of the glyph + float yBearing; ///< The distance from the baseline to the topmost border of the glyph + float advance; ///< The distance to move the cursor for this glyph + float scaleFactor; ///< The scaling applied (fixed-size fonts only) + bool softwareItalic; ///< Whether glyph needs software support to draw italic style + bool softwareBold; ///< Whether glyph needs software support to draw bold style }; } // Dali