diff options
| author | Pietro Gagliardi <[email protected]> | 2016-04-15 14:02:24 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2016-04-15 14:02:24 -0400 |
| commit | 21d398b1ac558ef344708b15d9b4bb831a3f8a42 (patch) | |
| tree | 80b36356cc148118e5a386555a458144c8e83622 | |
| parent | 08823edfec3e11008069f4e4401873a08753d6bf (diff) | |
Removed small caps from the font descriptor. It will be made a setting on TextLayout instead.
| -rw-r--r-- | draw.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -662,7 +662,6 @@ type FontDescriptor struct { Size float64 // as a text size, for instance 12 for a 12-point font Weight TextWeight Italic TextItalic - SmallCaps bool Stretch TextStretch } @@ -691,7 +690,6 @@ func LoadClosestFont(desc *FontDescriptor) *Font { d.Size = C.double(desc.Size) d.Weight = C.uiDrawTextWeight(desc.Weight) d.Italic = C.uiDrawTextItalic(desc.Italic) - d.SmallCaps = frombool(desc.SmallCaps) d.Stretch = C.uiDrawTextStretch(desc.Stretch) return &Font{ f: C.newFont(d), |
