[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master 9bf1d34 1/2: * src/ftdump.c (Print_Programs, Pr
From: |
Werner Lemberg |
Subject: |
[freetype2-demos] master 9bf1d34 1/2: * src/ftdump.c (Print_Programs, Print_Glyfs): Generalize messages. |
Date: |
Thu, 9 Sep 2021 14:29:46 -0400 (EDT) |
branch: master
commit 9bf1d34dc2defb0ec421a117a139c3b99c589463
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
* src/ftdump.c (Print_Programs, Print_Glyfs): Generalize messages.
---
src/ftdump.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/ftdump.c b/src/ftdump.c
index 285946d..a26e546 100644
--- a/src/ftdump.c
+++ b/src/ftdump.c
@@ -833,7 +833,7 @@
if ( loc + 1 >= end )
{
- printf( "\nglyf program %hd: invalid offset (%d)\n", i, loc );
+ printf( "\nglyf %hd: invalid offset (%d)\n", i, loc );
continue;
}
@@ -849,7 +849,7 @@
{
if ( loc + 1 >= end )
{
- printf( "\nglyf program %hd: invalid offset (%d)\n", i, loc );
+ printf( "\nglyf %hd: invalid offset (%d)\n", i, loc );
goto Continue;
}
@@ -872,7 +872,7 @@
if ( loc + 1 >= end )
{
- printf( "\nglyf program %hd: invalid offset (%d)\n", i, loc );
+ printf( "\nglyf %hd: invalid offset (%d)\n", i, loc );
continue;
}
@@ -885,12 +885,12 @@
if ( loc + len > end )
{
- printf( "\nglyf program %hd: invalid size (%d)\n", i, len );
+ printf( "\nglyf %hd: invalid size (%d)\n", i, len );
continue;
}
snprintf( tag, sizeof ( tag ), "%04hx", i );
- printf( "\nglyf program %hd (%.4s)", i, tag );
+ printf( "\nglyf %hd (%.4s)", i, tag );
Print_Bytecode( buffer + loc, len, tag );
Continue:
@@ -988,7 +988,7 @@
if ( loc + 1 >= end )
{
- printf( "\nglyf program %hd: invalid offset (%d)\n", i, loc );
+ printf( "\nglyf %hd: invalid offset (%d)\n", i, loc );
continue;
}
@@ -1001,7 +1001,7 @@
if ( loc + 1 >= end )
{
- printf( "\nglyf program %hd: invalid offset (%d)\n", i, loc );
+ printf( "\nglyf %hd: invalid offset (%d)\n", i, loc );
continue;
}
@@ -1018,7 +1018,7 @@
if ( loc + 1 >= end )
{
- printf( "\nglyf program %hd: invalid offset (%d)\n", i, loc );
+ printf( "\nglyf %hd: invalid offset (%d)\n", i, loc );
continue;
}
@@ -1028,7 +1028,7 @@
if ( len >= end )
{
- printf( "\nglyf program %hd: invalid offset (%d)\n", i, loc );
+ printf( "\nglyf %hd: invalid offset (%d)\n", i, loc );
continue;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master 9bf1d34 1/2: * src/ftdump.c (Print_Programs, Print_Glyfs): Generalize messages.,
Werner Lemberg <=