LASi: psDoc.cpp File Reference

LASi

Macros | Functions
psDoc.cpp File Reference

libLASi provides a C++ output stream interface for writing Postscript documents containing text strings in any of the world's scripts supported by Unicode 4.0 and Pango. More...

`#include <ostream>`
`#include <stdexcept>`
`#include <pango/pango.h>`
`#include <ctype.h>`
`#include <algorithm>`
`#include <cmath>`
`#include <LASi.h>`
`#include "contextMgr.h"`
`#include "glyphMgr.h"`
`#include "util.h"`
`#include "memory.h"`
`#include "stringDimensions.h"`
`#include <iomanip>`
`#include <stdlib.h>`

## Macros
#define | LASI_INVALID_UCS4 0xffffffff

## Functions
static const char * | utf8_to_ucs4 (const char *ptr, uint32_t *unichar)
static string | nameof (const FT_Face &face, const FT_UInt glyph_index, uint32_t unichar)

## Detailed Description

libLASi provides a C++ output stream interface for writing Postscript documents containing text strings in any of the world's scripts supported by Unicode 4.0 and Pango.

Copyright (C) 2003, 2004, 2006 by Larry Siden. See README file in project root directory for copyright and contact info. See COPYING file in project root for terms of re-distribution.

## Macro Definition Documentation

## ◆ LASI_INVALID_UCS4

#define LASI_INVALID_UCS4 0xffffffff

Referenced by nameof(), and utf8_to_ucs4().

## Function Documentation

## ◆ nameof()

static string nameof | ( | const FT_Face & | face,
|  | const FT_UInt | glyph_index,
|  | uint32_t | unichar
| ) |  |
| static

References LASI_INVALID_UCS4.

Referenced by LASi::PostscriptDocument::GlyphId::GlyphId().

## ◆ utf8_to_ucs4()

static const char* utf8_to_ucs4 | ( | const char * | ptr,
|  | uint32_t * | unichar
| ) |  |
| static

References LASI_INVALID_UCS4.

Referenced by LASi::PostscriptDocument::PangoItem_do().