Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
01c9ca88
Commit
01c9ca88
authored
Nov 08, 2005
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/src/bitmap_font.cpp: log a warning if a char cannot be rendered
parent
d90c8058
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/gui/skins2/src/bitmap_font.cpp
modules/gui/skins2/src/bitmap_font.cpp
+5
-2
No files found.
modules/gui/skins2/src/bitmap_font.cpp
View file @
01c9ca88
...
@@ -104,8 +104,11 @@ GenericBitmap *BitmapFont::drawString( const UString &rString,
...
@@ -104,8 +104,11 @@ GenericBitmap *BitmapFont::drawString( const UString &rString,
uint32_t
c
=
*
(
pString
++
);
uint32_t
c
=
*
(
pString
++
);
if
(
c
<
256
&&
m_table
[
c
].
m_xPos
!=
-
1
)
if
(
c
<
256
&&
m_table
[
c
].
m_xPos
!=
-
1
)
{
{
pBmp
->
drawBitmap
(
m_rBitmap
,
m_table
[
c
].
m_xPos
,
m_table
[
c
].
m_yPos
,
bool
res
=
pBmp
->
drawBitmap
(
m_rBitmap
,
m_table
[
c
].
m_xPos
,
xDest
,
0
,
m_width
,
m_height
);
m_table
[
c
].
m_yPos
,
xDest
,
0
,
m_width
,
m_height
);
if
(
!
res
)
msg_Warn
(
getIntf
(),
"BitmapFont::drawString: ignoring char"
);
xDest
+=
m_advance
;
xDest
+=
m_advance
;
}
}
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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