r22928 by jghali - Fix some html issues in IT scripter's font api doc
scribus-commit
scribus-commit at lists.scribus.net
Thu Apr 4 17:32:12 UTC 2019
Author: jghali
Date: Thu Apr 4 17:32:12 2019
New Revision: 22928
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22928
Log:
Fix some html issues in IT scripter's font api doc
Modified:
trunk/Scribus/doc/it/scripterapi-font.html
Modified: trunk/Scribus/doc/it/scripterapi-font.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22928&path=/trunk/Scribus/doc/it/scripterapi-font.html
==============================================================================
--- trunk/Scribus/doc/it/scripterapi-font.html (original)
+++ trunk/Scribus/doc/it/scripterapi-font.html Thu Apr 4 17:32:12 2019
@@ -14,12 +14,12 @@
<dt><a name="-getXFontNames"><strong>getXFontNames</strong></a>(...)</dt>
<dd><code>getXFontNames() -> list of tuples</code>
-<p>Returns a larger font info. It's a list of the tuples with: [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]</p></dd></dl>
+<p>Returns a larger font info. It's a list of the tuples with: [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]</p></dd>
<dt><a name="-renderFont"><strong>renderFont</strong></a>(...)</dt>
<dd><code>renderFont("name", "filename", "sample", size, format="PPM") -> bool</code>
<p>Creates an image preview of font "name" with given text "sample" and size. If "filename" is not "", image is saved into "filename". Otherwise image data is returned as a string. The optional "format" argument specifies the image format to generate, and supports any format allowed by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.</p>
-<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the specified font can't be found. May raise ValueError if an empty sample or filename is passed.</p></dd></dl>
+<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the specified font can't be found. May raise ValueError if an empty sample or filename is passed.</p></dd>
</dl>
</body>
More information about the scribus-commit
mailing list