[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master cff03bba 1/2: * src/ftcommon.c (FTDemo_Draw_Hea
From: |
Werner Lemberg |
Subject: |
[freetype2-demos] master cff03bba 1/2: * src/ftcommon.c (FTDemo_Draw_Header): Adjust format string. |
Date: |
Tue, 10 Dec 2024 21:38:26 -0500 (EST) |
branch: master
commit cff03bba4add51d532f41d083a3f66885400df56
Author: Alexei Podtelezhnikov (Алексей Подтележников) <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov (Алексей Подтележников) <apodtele@gmail.com>
* src/ftcommon.c (FTDemo_Draw_Header): Adjust format string.
---
src/ftcommon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ftcommon.c b/src/ftcommon.c
index d5baf81f..9baa09a8 100644
--- a/src/ftcommon.c
+++ b/src/ftcommon.c
@@ -1196,9 +1196,9 @@
strbuf_reset( buf );
if ( res == 72 )
- strbuf_format( buf, "%.4g ppem", ppem / 64.0 );
+ strbuf_format( buf, "%.5g ppem", ppem / 64.0 );
else
- strbuf_format( buf, "%g pt at %d dpi, %.4g ppem",
+ strbuf_format( buf, "%g pt at %d dpi, %.5g ppem",
ptsize / 64.0, res, ppem / 64.0 );
if ( face->face_index >> 16 )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master cff03bba 1/2: * src/ftcommon.c (FTDemo_Draw_Header): Adjust format string.,
Werner Lemberg <=