Add OffscreenApplication
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / text-abstraction / glyph-info.cpp
index 898a2d5..8474e9f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 namespace Dali
 {
-
 namespace TextAbstraction
 {
-
 GlyphInfo::GlyphInfo()
-: fontId( 0 ),
-  index( 0 ),
-  width( 0 ),
-  height( 0 ),
-  xBearing( 0 ),
-  yBearing( 0 ),
-  advance( 0 ),
-  scaleFactor( 0 ),
-  softwareItalic(false),
-  softwareBold(false)
+: fontId{0u},
+  index{0u},
+  width(0.f),
+  height{0.f},
+  xBearing{0.f},
+  yBearing{0.f},
+  advance{0.f},
+  scaleFactor{0.f},
+  isItalicRequired{false},
+  isBoldRequired{false}
 {
 }
 
-GlyphInfo::GlyphInfo( FontId font, GlyphIndex i )
-: fontId( font ),
-  index( i ),
-  width( 0 ),
-  height( 0 ),
-  xBearing( 0 ),
-  yBearing( 0 ),
-  advance( 0 ),
-  scaleFactor( 0 ),
-  softwareItalic(false),
-  softwareBold(false)
+GlyphInfo::GlyphInfo(FontId font, GlyphIndex i)
+: fontId{font},
+  index{i},
+  width(0.f),
+  height{0.f},
+  xBearing{0.f},
+  yBearing{0.f},
+  advance{0.f},
+  scaleFactor{0.f},
+  isItalicRequired{false},
+  isBoldRequired{false}
 {
 }