mirror of https://github.com/adamdruppe/arsd.git
whitespace change with some float adjustments
This commit is contained in:
parent
f6422c3e02
commit
039efe58d0
3
ttf.d
3
ttf.d
|
|
@ -448,8 +448,9 @@ abstract class OpenGlLimitedFontBase() {
|
||||||
Added April 24, 2020
|
Added April 24, 2020
|
||||||
+/
|
+/
|
||||||
final class OpenGlLimitedFont(OpenGlFontGLVersion ver = OpenGlFontGLVersion.old) : OpenGlLimitedFontBase!() {
|
final class OpenGlLimitedFont(OpenGlFontGLVersion ver = OpenGlFontGLVersion.old) : OpenGlLimitedFontBase!() {
|
||||||
import arsd.color;
|
|
||||||
import arsd.simpledisplay;
|
import arsd.simpledisplay;
|
||||||
|
static if(OpenGlEnabled):
|
||||||
|
import arsd.color;
|
||||||
|
|
||||||
public this(const ubyte[] ttfData, float fontPixelHeight, dchar firstChar = 32, dchar lastChar = 127) {
|
public this(const ubyte[] ttfData, float fontPixelHeight, dchar firstChar = 32, dchar lastChar = 127) {
|
||||||
super(ttfData, fontPixelHeight, firstChar, lastChar);
|
super(ttfData, fontPixelHeight, firstChar, lastChar);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue