shithub: freetype+ttf2subf

Download patch

ref: 7ec9598f47e5e8f6e05c38508d1e59e2bb9395ee
parent: b09e77359121b911926af91b5f8a8a93ce4d9438
author: Werner Lemberg <[email protected]>
date: Mon Aug 6 13:35:14 EDT 2018

More comment formattings.

This helps in the forthcoming transition to markdown syntax.

git/fs: mount .git/fs: mount/attach disallowed
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -50,8 +50,10 @@
    *   slightly to pre-define the macro FT_CONFIG_OPTIONS_H used to
    *   locate this file during the build.  For example,
    *
+   *   {
    *     #define FT_CONFIG_OPTIONS_H  <myftoptions.h>
    *     #include <freetype/config/ftheader.h>
+   *   }
    *
    *   will use `$BUILD/myftoptions.h' instead of this file for macro
    *   definitions.
@@ -351,8 +353,7 @@
    *
    * Guessing methods to access embedded resource forks
    *
-   *   Enable extra Mac fonts support on non-Mac platforms (e.g.
-   *   GNU/Linux).
+   *   Enable extra Mac fonts support on non-Mac platforms (e.g., GNU/Linux).
    *
    *   Resource forks which include fonts data are stored sometimes in
    *   locations which users or developers don't expected.  In some cases,
@@ -429,22 +430,28 @@
    *   boolean variables (consequently, you should *never* enable this
    *   while compiling in `release' mode):
    *
+   *   {
    *     _af_debug_disable_horz_hints
    *     _af_debug_disable_vert_hints
    *     _af_debug_disable_blue_hints
+   *   }
    *
    *   Additionally, the following functions provide dumps of various
    *   internal autofit structures to stdout (using `printf'):
    *
+   *   {
    *     af_glyph_hints_dump_points
    *     af_glyph_hints_dump_segments
    *     af_glyph_hints_dump_edges
    *     af_glyph_hints_get_num_segments
    *     af_glyph_hints_get_segment_offset
+   *   }
    *
    *   As an argument, they use another global variable:
    *
+   *   {
    *     _af_debug_hints
+   *   }
    *
    *   Please have a look at the `ftgrid' demo program to see how those
    *   variables and macros should be used.
@@ -888,9 +895,11 @@
    * like Fedora that did not un-patch the following change (which was
    * present in FreeType between versions 2.4.6 and 2.7.1, inclusive).
    *
+   * {
    *   2011-07-16  Steven Chu  <[email protected]>
    *
    *     [truetype] Fix metrics on size request for scalable fonts.
+   * }
    *
    * This problematic commit is now reverted (more or less).
    */
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -50,8 +50,10 @@
    *   slightly to pre-define the macro FT_CONFIG_OPTIONS_H used to
    *   locate this file during the build.  For example,
    *
+   *   {
    *     #define FT_CONFIG_OPTIONS_H  <myftoptions.h>
    *     #include <freetype/config/ftheader.h>
+   *   }
    *
    *   will use `$BUILD/myftoptions.h' instead of this file for macro
    *   definitions.
@@ -351,8 +353,7 @@
    *
    * Guessing methods to access embedded resource forks
    *
-   *   Enable extra Mac fonts support on non-Mac platforms (e.g.
-   *   GNU/Linux).
+   *   Enable extra Mac fonts support on non-Mac platforms (e.g., GNU/Linux).
    *
    *   Resource forks which include fonts data are stored sometimes in
    *   locations which users or developers don't expected.  In some cases,
@@ -429,22 +430,28 @@
    *   boolean variables (consequently, you should *never* enable this
    *   while compiling in `release' mode):
    *
+   *   {
    *     _af_debug_disable_horz_hints
    *     _af_debug_disable_vert_hints
    *     _af_debug_disable_blue_hints
+   *   }
    *
    *   Additionally, the following functions provide dumps of various
    *   internal autofit structures to stdout (using `printf'):
    *
+   *   {
    *     af_glyph_hints_dump_points
    *     af_glyph_hints_dump_segments
    *     af_glyph_hints_dump_edges
    *     af_glyph_hints_get_num_segments
    *     af_glyph_hints_get_segment_offset
+   *   }
    *
    *   As an argument, they use another global variable:
    *
+   *   {
    *     _af_debug_hints
+   *   }
    *
    *   Please have a look at the `ftgrid' demo program to see how those
    *   variables and macros should be used.
@@ -888,9 +895,11 @@
    * like Fedora that did not un-patch the following change (which was
    * present in FreeType between versions 2.4.6 and 2.7.1, inclusive).
    *
+   * {
    *   2011-07-16  Steven Chu  <[email protected]>
    *
    *     [truetype] Fix metrics on size request for scalable fonts.
+   * }
    *
    * This problematic commit is now reverted (more or less).
    */
--- a/include/ft2build.h
+++ b/include/ft2build.h
@@ -25,8 +25,10 @@
    *
    * A typical example is
    *
+   * {
    *   #include <ft2build.h>
    *   #include FT_FREETYPE_H
+   * }
    *
    */