diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-13 17:49:11 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-13 17:49:11 +0100 |
| commit | 783ab6e782b7c53de71cef8765fbbb8dadc99ccf (patch) | |
| tree | 5c9223e5927b07fde560363322625c25e08c26ef | |
| parent | Update e-mail (diff) | |
| download | libglitter-783ab6e782b7c53de71cef8765fbbb8dadc99ccf.tar.gz libglitter-783ab6e782b7c53de71cef8765fbbb8dadc99ccf.tar.bz2 libglitter-783ab6e782b7c53de71cef8765fbbb8dadc99ccf.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | README | 16 | ||||
| -rw-r--r-- | libglitter.7 | 14 |
2 files changed, 15 insertions, 15 deletions
@@ -5,7 +5,7 @@ DESCRIPTION libglitter is a C library for subpixel-rendered text from an greyscale-antialiased text image. libglitter is designed to be used in conjunction with other font libraries: it can neither - rasterise glyphs nor does it know about the montor's subpixel + rasterise glyphs nor does it know about the monitor's subpixel layout or rendering configurations. To use libglitter you first (optionally) apply hinting to the @@ -17,7 +17,7 @@ DESCRIPTION you rasterise the text using greyscale-antialiasing into a raster sized according to the output's horizontal and vertical subpixel densities (rather than pixel densities as normally - done with greyscale-antialiasing; some subpixels may have be + done with greyscale-antialiasing; some subpixels may be counted multiple times depending on the subpixel arrangement). At this point, depending on final result, you may (will probably) want to use libglitter_redistribute_energy_double(3) @@ -35,7 +35,7 @@ DESCRIPTION image of the text; you may have to first call libglitter_- reorder_rasters(3) to put the rasters in the expected order. - An optional next step is to use lessen the intensity of the + An optional next step is to lessen the intensity of the subpixel-antialiasing with libglitter_desaturate_double(3), libglitter_desaturate_float(3), libglitter_per_channel_- desaturate_double(3), or libglitter_per_channel_desaturate_- @@ -47,16 +47,16 @@ DESCRIPTION and libglitter_colour_model_convert_rasters_double(3) or libglitter_get_colour_model_conversion_matrix_float(3) and libglitter_colour_model_convert_rasters_float(3) to - convert a colour model the application can output in. It is - however out of the scope of libglitter to get the output's + convert a colour model the application can output in. It + is however out of scope of libglitter to get the output's colour model and the conversion matrix to any other colour model than sRGB or CIE XYZ. - The finally step of the rendering process is out of scope for + The final step of the rendering process is out of scope for libglitter, but is to ensure that all floating-point values - (if floating-point rasters are used) are withing [0, 1] and + (if floating-point rasters are used) are within [0, 1] and convert the rasters, which only contain ink-on intensities, - into the desired colour's with the output's transfer function + into the desired colours with the output's transfer function applied. The application may also desire to call libglitter_enable_- diff --git a/libglitter.7 b/libglitter.7 index bed8b56..8144ea7 100644 --- a/libglitter.7 +++ b/libglitter.7 @@ -8,7 +8,7 @@ greyscale-antialiased text image. .B libglitter is designed to be used in conjunction with other font libraries: it can neither -rasterise glyphs nor does it know about the montor's subpixel +rasterise glyphs nor does it know about the monitor's subpixel layout or rendering configurations. .PP To use @@ -22,7 +22,7 @@ compatible and that its native resolution is used, you rasterise the text using greyscale-antialiasing into a raster sized according to the output's horizontal and vertical subpixel densities (rather than pixel densities as normally -done with greyscale-antialiasing; some subpixels may have be +done with greyscale-antialiasing; some subpixels may be counted multiple times depending on the subpixel arrangement). At this point, depending on final result, you may (will probably) want to use @@ -52,7 +52,7 @@ have to first call .BR libglitter_reorder_rasters (3) to put the rasters in the expected order. .PP -An optional next step is to use lessen the intensity of the +An optional next step is to lessen the intensity of the subpixel-antialiasing with .BR libglitter_desaturate_double (3), .BR libglitter_desaturate_float (3), @@ -70,18 +70,18 @@ or and .BR libglitter_colour_model_convert_rasters_float (3) to convert a colour model the application can output in. It is -however out of the scope of +however out of scope of .B libglitter to get the output's colour model and the conversion matrix to any other colour model than sRGB or CIE XYZ. .PP -The finally step of the rendering process is out of scope for +The final step of the rendering process is out of scope for .BR libglitter , but is to ensure that all floating-point values -(if floating-point rasters are used) are withing [0, 1] and +(if floating-point rasters are used) are within [0, 1] and convert the rasters, which only contain ink-on intensities, -into the desired colour's with the output's transfer function +into the desired colours with the output's transfer function applied. .PP The application may also desire to call |
