Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
49da489c
Commit
49da489c
authored
Jun 11, 2003
by
Stephan Binner
Browse files
//historic garbage
svn path=/trunk/kdebase/konsole/; revision=230932
parent
f409d067
Changes
2
Hide whitespace changes
Inline
Side-by-side
konsole/TEWidget.cpp
View file @
49da489c
...
...
@@ -221,12 +221,12 @@ static QChar vt100extended(QChar c)
}
return c;
}
*/
static QChar identicalMap(QChar c)
{
return c;
}
*/
void
TEWidget
::
fontChange
(
const
QFont
&
)
{
...
...
@@ -268,7 +268,7 @@ void TEWidget::fontChange(const QFont &)
#warning TODO: Review/fix vt100 extended font-mapping
#endif
fontMap
=
identicalMap
;
//
fontMap = identicalMap;
emit
changedFontMetricSignal
(
font_h
,
font_w
);
propagateSize
();
update
();
...
...
@@ -611,7 +611,7 @@ HCNT("setImage");
if
(
!
c
)
continue
;
int
p
=
0
;
disstrU
[
p
++
]
=
fontMap
(
c
);
disstrU
[
p
++
]
=
c
;
//
fontMap(c);
cr
=
ext
[
x
].
r
;
cb
=
ext
[
x
].
b
;
if
(
ext
[
x
].
f
!=
cf
)
cf
=
ext
[
x
].
f
;
...
...
@@ -629,7 +629,7 @@ HCNT("setImage");
!
dirtyMask
[
x
+
len
]
)
break
;
disstrU
[
p
++
]
=
fontMap
(
c
);
disstrU
[
p
++
]
=
c
;
//
fontMap(c);
}
QString
unistr
(
disstrU
,
p
);
...
...
@@ -791,7 +791,7 @@ void TEWidget::paintContents(QPainter &paint, const QRect &rect, bool pm)
int
p
=
0
;
c
=
image
[
loc
(
x
,
y
)].
c
;
if
(
c
)
disstrU
[
p
++
]
=
fontMap
(
c
);
disstrU
[
p
++
]
=
c
;
//
fontMap(c);
int
cf
=
image
[
loc
(
x
,
y
)].
f
;
int
cb
=
image
[
loc
(
x
,
y
)].
b
;
int
cr
=
image
[
loc
(
x
,
y
)].
r
;
...
...
@@ -802,7 +802,7 @@ void TEWidget::paintContents(QPainter &paint, const QRect &rect, bool pm)
{
c
=
image
[
loc
(
x
+
len
,
y
)].
c
;
if
(
c
)
disstrU
[
p
++
]
=
fontMap
(
c
);
disstrU
[
p
++
]
=
c
;
//
fontMap(c);
else
fixed_font
=
false
;
len
++
;
...
...
konsole/TEWidget.h
View file @
49da489c
...
...
@@ -195,7 +195,7 @@ protected slots:
private:
QChar
(
*
fontMap
)(
QChar
);
// possible vt100 font extention
//
QChar (*fontMap)(QChar); // possible vt100 font extention
bool
fixed_font
;
// has fixed pitch
int
font_h
;
// height
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment