From d846b31f508cf10d76b870fa0dc26bf0c50e2eaa Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 10 May 2004 17:26:50 +0000 Subject: [PATCH] Pango contributions from alf82@freemail.gr svn path=/trunk/gtk-sharp/; revision=27038 --- doc/en/Pango/FontDescription.xml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/doc/en/Pango/FontDescription.xml b/doc/en/Pango/FontDescription.xml index 9cca73a7a..53449aaa2 100644 --- a/doc/en/Pango/FontDescription.xml +++ b/doc/en/Pango/FontDescription.xml @@ -33,10 +33,23 @@ - To be added + Creates a new font description from a string representation. To be added: an object of type 'string' - To be added: an object of type 'Pango.FontDescription' - To be added + The object of type created. + The form of the string representation is "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where: + + + FAMILY-LIST is a comma separated list of families optionally terminated by a comma. + + + STYLE-OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, or stretch. + + + SIZE is a decimal number (size in points) + + +Any one of the options may be absent. If FAMILY-LIST is absent, then the family_name field of the resulting font description will be initialized to NULL. If STYLE-OPTIONS is missing, then all style options will be set to the default values. If SIZE is missing, the size in the resulting font description will be set to 0. + @@ -325,9 +338,9 @@ - To be added + Creates a string representation of a font description. a - To be added + See for a description of the format of the string representation. The family list in the string description will only have a terminating comma if the last word of the list is a valid style option.