Fresco/Fresco-IDL/share/idl/Fresco Font.idl,1.4,1.5 FontKit.idl,1.1,1.2
Nick Lewycky <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/Fresco-IDL/share/idl/Fresco
In directory purcel:/tmp/cvs-serv2948/Fresco-IDL/share/idl/Fresco
Modified Files:
Font.idl FontKit.idl
Log Message:
It compiles. It doesn't work.
Index: Font.idl
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-IDL/share/idl/Fresco/Font.idl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Font.idl 12 Jan 2003 02:54:09 -0000 1.4
+++ Font.idl 16 Feb 2003 03:47:46 -0000 1.5
@@ -41,7 +41,7 @@
// for horizontally reading fonts, or
// horizontally to the center line of vertical
// fonts.
- Coord underline_offset, underline_width;
+ Coord underline_offset, underline_thickness;
};
enum SegmentType { move, line, conic, cubic };
@@ -69,7 +69,7 @@
Coord italic_correction;
};
- interface Glyph
+ interface Glyph : RefCountBase, Identifiable
{
Raster bitmap();
FontShape decompose();
@@ -79,7 +79,7 @@
interface Font : RefCountBase, Identifiable
{
- Glyph glyph_char(in Unichar c);
+ Glyph glyph_char(in Unichar c, in unsigned short xdpi, in unsigned short ydpi);
// need glyph_something for composite characters.
// also need to support multiple master fonts. Hm.
Index: FontKit.idl
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-IDL/share/idl/Fresco/FontKit.idl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- FontKit.idl 7 Jan 2003 02:20:37 -0000 1.1
+++ FontKit.idl 16 Feb 2003 03:47:46 -0000 1.2
@@ -43,6 +43,7 @@
interface FontKit : Kit
{
+ //. supply the One True Font.
Font _default();
//. inform the FontKit of a new Font
Font filename(in string file, in Unistring style, in Coord size);