Fresco/Fresco-IDL/share/idl/Fresco Font.idl,1.5,1.6
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-serv24779/Fresco-IDL/share/idl/Fresco
Modified Files:
Font.idl
Log Message:
Move the dpi from Font::glyph_char to Glyph::bitmap where it belongs.
The FontKit can now return a Raster containing the glyph at a given dpi!
Index: Font.idl
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-IDL/share/idl/Fresco/Font.idl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Font.idl 16 Feb 2003 03:47:46 -0000 1.5
+++ Font.idl 17 Feb 2003 02:10:33 -0000 1.6
@@ -71,7 +71,7 @@
interface Glyph : RefCountBase, Identifiable
{
- Raster bitmap();
+ Raster bitmap(in unsigned short xdpi, in unsigned short ydpi);
FontShape decompose();
void char_info(out GlyphMetrics gm);
void transformation(in Transform t);
@@ -79,7 +79,7 @@
interface Font : RefCountBase, Identifiable
{
- Glyph glyph_char(in Unichar c, in unsigned short xdpi, in unsigned short ydpi);
+ Glyph glyph_char(in Unichar c);
// need glyph_something for composite characters.
// also need to support multiple master fonts. Hm.