diff options
Diffstat (limited to 'src/lib/efl')
-rw-r--r-- | src/lib/efl/interfaces/efl_text_font.eo | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_text_font.eo b/src/lib/efl/interfaces/efl_text_font.eo index b43c522c2a..b68e142b6f 100644 --- a/src/lib/efl/interfaces/efl_text_font.eo +++ b/src/lib/efl/interfaces/efl_text_font.eo | |||
@@ -37,6 +37,18 @@ enum Efl.Text.Font.Slant { | |||
37 | italic, [[Italic font slant]] | 37 | italic, [[Italic font slant]] |
38 | } | 38 | } |
39 | 39 | ||
40 | /* FIXME: It needs to support "normal" option for non-color bitmap font. | ||
41 | For supporting "normal" option, S/W glyph drawing engine should be updated. | ||
42 | */ | ||
43 | enum Efl.Text.Font.Bitmap_Scalable { | ||
44 | [[Scalable of bitmap fonts | ||
45 | |||
46 | @since 1.21 | ||
47 | ]] | ||
48 | none = 0, [[Disable scalable feature for bitmap fonts.]] | ||
49 | color = (1 << 0), [[Enable scalable feature for color bitmap fonts.]] | ||
50 | } | ||
51 | |||
40 | interface Efl.Text.Font { | 52 | interface Efl.Text.Font { |
41 | [[Font settings of the text | 53 | [[Font settings of the text |
42 | 54 | ||
@@ -114,5 +126,17 @@ interface Efl.Text.Font { | |||
114 | lang: string; [[Language]] | 126 | lang: string; [[Language]] |
115 | } | 127 | } |
116 | } | 128 | } |
129 | |||
130 | @property font_bitmap_scalable { | ||
131 | [[The bitmap fonts have fixed size glyphs for several available sizes. | ||
132 | Basically, it is not scalable. But, it needs to be scalable for some use cases. | ||
133 | (ex. colorful emoji fonts) | ||
134 | |||
135 | Default is $Efl.Text.Font.Bitmap_Scalable.none\. | ||
136 | ]] | ||
137 | values { | ||
138 | scalable: Efl.Text.Font.Bitmap_Scalable; [[Scalable]] | ||
139 | } | ||
140 | } | ||
117 | } | 141 | } |
118 | } | 142 | } |