Canon
to Site index
to Home to CISRA Overview to Canon Gateway

Back to OpenPage Introduction
         

Text

OpenPage has a flexible text setting scheme to support both simple and sophisticated uses. Not all applications are concerned with the intricacies of text setting. For these applications, OpenPage gives a simple but complete solution which supports multiple lines and tab stops in single setting operations. For example:

text("Simple text");
  
text("Two lines\nof text");
  
text("Centered", NULL, "0C");
  
text("Text\t1\nin\t10\ncolumns\t100", NULL, "20R");
  


All these simple forms may be kerned if kerning information is available in the font. Applications which require more control over the setting process may give explicit widths for each character:
text("Abcd", [array 19, 15.5, 12.2, 15.5]);


Text rasterizations are fully antialised. The text object can be composited with any shape, image, or other text object using a range of compositing operations.


Back to Top