summaryrefslogtreecommitdiff
path: root/appl/ebook/cssfont.m
diff options
context:
space:
mode:
Diffstat (limited to 'appl/ebook/cssfont.m')
-rw-r--r--appl/ebook/cssfont.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/appl/ebook/cssfont.m b/appl/ebook/cssfont.m
new file mode 100644
index 00000000..f1f1276b
--- /dev/null
+++ b/appl/ebook/cssfont.m
@@ -0,0 +1,9 @@
+CSSfont: module {
+ PATH: con "/dis/ebook/cssfont.dis";
+ Spec: adt {
+ family, style, weight, size: string;
+ };
+
+ init: fn(displ: ref Draw->Display);
+ getfont: fn(spec: Spec, parentem, parentex: int): (string, int, int);
+};