Parameters

Returns

pango_read_line ()

pango_read_line has been deprecated since version 1.38 and should not be used in newly-written code.

Reads an entire line from a file into a buffer. Lines may
be delimited with '\n', '\r', '\n\r', or '\r\n'. The delimiter
is not written into the buffer. Text after a '#' character is treated as
a comment and skipped. '\' can be used to escape a # character.
'\' proceeding a line delimiter combines adjacent lines. A '\' proceeding
any other character is ignored and written into the output buffer
unmodified.

Returns

pango_scan_string ()

pango_scan_string has been deprecated since version 1.38 and should not be used in newly-written code.

Scans a string into a GString buffer. The string may either
be a sequence of non-white-space characters, or a quoted
string with '"'. Instead a quoted string, '\"' represents
a literal quote. Leading white space outside of quotes is skipped.

pango_parse_enum ()

pango_parse_enum has been deprecated since version 1.38 and should not be used in newly-written code.

Parses an enum type and stores the result in value
.

If str
does not match the nick name of any of the possible values for the
enum and is not an integer, FALSE is returned, a warning is issued
if warn
is TRUE, and a
string representing the list of possible values is stored in
possible_values
. The list is slash-separated, eg.
"none/start/middle/end". If failed and possible_values
is not NULL,
returned string should be freed using g_free().

Returns

pango_is_zero_width ()

Checks ch
to see if it is a character that should not be
normally rendered on the screen. This includes all Unicode characters
with "ZERO WIDTH" in their name, as well as bidi formatting characters, and
a few other ones. This is totally different from g_unichar_iszerowidth()
and is at best misnamed.

Parameters

ch

a Unicode character

Returns

pango_quantize_line_geometry ()

void
pango_quantize_line_geometry (int *thickness,
int *position);

Quantizes the thickness and position of a line, typically an
underline or strikethrough, to whole device pixels, that is integer
multiples of PANGO_SCALE. The purpose of this function is to avoid
such lines looking blurry.

Care is taken to make sure thickness
is at least one pixel when this
function returns, but returned position
may become zero as a result
of rounding.