[fondue-commits] [SCM] Fondue Font Editor branch, master, updated. 7cb1cd93c5395c22bd2588db4136d23c5cd1c6fe
Eugeniy Meshcheryakov
eugen at debian.org
Fri Sep 7 16:28:56 UTC 2007
The branch, master has been updated
via 7cb1cd93c5395c22bd2588db4136d23c5cd1c6fe (commit)
via 8ba7f74b738d334f50b0895e599cb67797c25945 (commit)
from a4f9064b406b795fe91b4c357d58a68286684bae (commit)
- Shortlog ------------------------------------------------------------
7cb1cd9 make it possible to create FontDocument object without parent
8ba7f74 remove a comment
Summary of changes:
nongui/fontdocument.h | 2 +-
nongui/ttfwriter.cxx | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 7cb1cd93c5395c22bd2588db4136d23c5cd1c6fe
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date: Fri Sep 7 17:45:57 2007 +0200
make it possible to create FontDocument object without parent
diff --git a/nongui/fontdocument.h b/nongui/fontdocument.h
index 7dc87da..7344dbb 100644
--- a/nongui/fontdocument.h
+++ b/nongui/fontdocument.h
@@ -32,7 +32,7 @@ class FontDocument : public QObject {
public:
/** Construct empty font document.
*/
- FontDocument(QObject *parent) : QObject(parent), m_documentChanged(false) {}
+ FontDocument(QObject *parent = 0) : QObject(parent), m_documentChanged(false) {}
/** Set copyright string for the font document.
*/
commit 8ba7f74b738d334f50b0895e599cb67797c25945
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date: Thu Sep 6 16:41:12 2007 +0200
remove a comment
diff --git a/nongui/ttfwriter.cxx b/nongui/ttfwriter.cxx
index 7b27e24..d7f9eb4 100644
--- a/nongui/ttfwriter.cxx
+++ b/nongui/ttfwriter.cxx
@@ -375,7 +375,6 @@ bool TTFWriter::writeSimpleGlyph(QIODevice *dev, const Glyph *g)
qint16 prev = 0;
foreach (QVariant v, g->content) {
Contour c = v.value<Contour>();
- // XXX FIXME coordinates should be relative!
foreach (const GlyphPoint &pt, c) {
qint16 thisPoint = (qint16)pt.x();
if (!writeBigEndian<qint16>(dev, thisPoint - prev))
--
Fondue Font Editor
More information about the fondue-commits
mailing list