freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master c14f0bd: Update manpages.


From: Werner LEMBERG
Subject: [freetype2-demos] master c14f0bd: Update manpages.
Date: Fri, 25 May 2018 16:42:01 -0400 (EDT)

branch: master
commit c14f0bd742c6621d157fde5ad7748ab9e4566d03
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    Update manpages.
    
    * src/ftgrid.1, src/ftstring.1, stc/ftview: Document option `-d'.
---
 ChangeLog      |  6 ++++++
 src/ftgrid.1   | 15 ++++-----------
 src/ftstring.1 | 13 +++----------
 src/ftstring.c |  2 +-
 src/ftview.1   | 13 +++----------
 5 files changed, 17 insertions(+), 32 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2f963ed..baab704 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-05-25  Werner Lemberg  <address@hidden>
+
+       Update manpages.
+
+       * src/ftgrid.1, src/ftstring.1, stc/ftview: Document option `-d'.
+
 2018-05-24  Alexei Podtelezhnikov  <address@hidden>
 
        [graph] Implement grayscale target surface.
diff --git a/src/ftgrid.1 b/src/ftgrid.1
index f76b6c8..a5376d7 100644
--- a/src/ftgrid.1
+++ b/src/ftgrid.1
@@ -42,16 +42,9 @@ This program is part of the FreeType demos package.
 .SH OPTIONS
 .
 .TP
-.BI \-w \ w
-Set the window width to
-.I w
-pixels (default: 640px).
-.
-.TP
-.BI \-h \ h
-Set the window height to
-.I h
-pixels (default: 480px).
+.BI \-d \ width x height x depth
+Set the window width (in pixels), height (in pixels), and depth (in bpp) to
+the given values (default: 640x480x24).
 .
 .TP
 .BI \-r \ r
@@ -77,7 +70,7 @@ Common values:
 (Adobe custom).
 .
 .TP
-.BI "\-d\ \(dq" "axis1\ axis2\ .\|.\|." \(dq
+.BI "\-a\ \(dq" "axis1\ axis2\ .\|.\|." \(dq
 For Multiple Master, GX, or OpenType variation fonts, specify design
 coordinates for each axis at start-up.
 This option implies option
diff --git a/src/ftstring.1 b/src/ftstring.1
index 01956b4..b295406 100644
--- a/src/ftstring.1
+++ b/src/ftstring.1
@@ -39,16 +39,9 @@ This program is part of the FreeType demos package.
 .SH OPTIONS
 .
 .TP
-.BI \-w \ w
-Set the window width to
-.I w
-pixels (default: 640px).
-.
-.TP
-.BI \-h \ h
-Set the window height to
-.I h
-pixels (default: 480px).
+.BI \-d \ width x height x depth
+Set the window width (in pixels), height (in pixels), and depth (in bpp) to
+the given values (default: 640x480x24).
 .
 .TP
 .BI \-r \ r
diff --git a/src/ftstring.c b/src/ftstring.c
index 0abbe14..12044c2 100644
--- a/src/ftstring.c
+++ b/src/ftstring.c
@@ -586,7 +586,7 @@
 
     while ( 1 )
     {
-      option = getopt( *argc, *argv, "d:e:h:m:r:v" );
+      option = getopt( *argc, *argv, "d:e:m:r:v" );
 
       if ( option == -1 )
         break;
diff --git a/src/ftview.1 b/src/ftview.1
index 89ef919..e0b9818 100644
--- a/src/ftview.1
+++ b/src/ftview.1
@@ -37,16 +37,9 @@ This program is part of the FreeType demos package.
 .SH OPTIONS
 .
 .TP
-.BI \-w \ w
-Set the window width to
-.I w
-pixels (default: 640px).
-.
-.TP
-.BI \-h \ h
-Set the window height to
-.I h
-pixels (default: 480px).
+.BI \-d \ width x height x depth
+Set the window width (in pixels), height (in pixels), and depth (in bpp) to
+the given values (default: 640x480x24).
 .
 .TP
 .BI \-r \ r



reply via email to

[Prev in Thread] Current Thread [Next in Thread]