From 20f18caf065a7eb53f6791843d3a7940d65abbd0 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 16 Sep 2005 20:35:48 +0000 Subject: opie-wellenreiter: backported fontfix from OPIE CVS - packetview had font hardcoded to Fixed/8 - nearly unreadable on VGA screen --- packages/opie-wellenreiter/files/.mtn2git_empty | 0 .../files/0916_wellenreiter-fontfix.patch | 43 ++++++++++++++++++++++ .../opie-wellenreiter/opie-wellenreiter_1.2.1.bb | 4 +- 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 packages/opie-wellenreiter/files/.mtn2git_empty create mode 100644 packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch (limited to 'packages/opie-wellenreiter') diff --git a/packages/opie-wellenreiter/files/.mtn2git_empty b/packages/opie-wellenreiter/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch b/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch new file mode 100644 index 0000000000..b85d46cb08 --- /dev/null +++ b/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch @@ -0,0 +1,43 @@ + +This patch is backport from OPIE CVS. +Submitted upstream by Marcin Juszkiewicz +Date: 2005-09-16 + +Index: packetview.cpp +=================================================================== +RCS file: /cvs/opie/noncore/net/wellenreiter/gui/packetview.cpp,v +retrieving revision 1.9 +diff -u -r1.9 packetview.cpp +--- wellenreiter/gui/packetview.cpp 24 Aug 2004 11:53:44 -0000 1.9 ++++ wellenreiter/gui/packetview.cpp 16 Sep 2005 17:41:03 -0000 +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + /* QT */ + #include +@@ -38,6 +39,9 @@ + PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) + :QFrame( parent, name, f ) + { ++ Config c( "qpe" ); ++ c.setGroup( "Appearance" ); ++ + _number = new QSpinBox( this ); + _number->setPrefix( "Pkt# " ); + _label = new QLabel( this ); +@@ -47,11 +51,10 @@ + _list->setColumnAlignment( 0, Qt::AlignCenter ); + _list->setColumnAlignment( 1, Qt::AlignLeft ); + _list->setAllColumnsShowFocus( true ); +- _list->setFont( QFont( "Fixed", 8 ) ); + + _hex = new QTextView( this ); + _hex->setMargin( 0 ); +- _hex->setFont( QFont( "Fixed", 8 ) ); ++ _hex->setFont( QFont( c.readEntry( "FixedFontFamily", "Fixed" ), c.readNumEntry( "FixedFontSize", 8 ) ) ); + + QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 ); + QHBoxLayout* hb = new QHBoxLayout( vb, 2 ); diff --git a/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb b/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb index b2e3975f7a..7dc43ad8d6 100644 --- a/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb +++ b/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb @@ -1,6 +1,8 @@ include ${PN}.inc +PR = "r1" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/net/wellenreiter \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \ - ${HANDHELDS_CVS};tag=${TAG};module=opie/apps" + ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \ + file://0916_wellenreiter-fontfix.patch;patch=1" -- cgit v1.2.3