gbranden pushed a commit to branch master in repository groff. commit e213634375e2289a07c00856853bf3b1d81467e8 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Tue Jun 10 06:49:24 2025 -0500
gropdf(1): Document East Asian typeface support. * src/devices/gropdf/gropdf.1.man (Usage): Do it. * src/devices/grohtml/grohtml.1.man (Typefaces): * src/devices/grops/grops.1.man (Typefaces): * src/devices/grotty/grotty.1.man (Typefaces): Add gropdf(1) to the list of output drivers supporting this scheme. See <https://savannah.gnu.org/bugs/?62830> for background. As Deri noted there, gropdf "already handles CJK documents". The change here is to improve document portability across groff output drivers by permitting an author to abstract away (or be indifferent to) the exact face providing CJK glyph coverage, in much the same way that an author using a language in the Latin script can restrict the document's explicit typeface usage to "R", "I", "B", and "BI". --- src/devices/grohtml/grohtml.1.man | 3 ++- src/devices/gropdf/gropdf.1.man | 53 +++++++++++++++++++++++++++++++++++++++ src/devices/grops/grops.1.man | 3 ++- src/devices/grotty/grotty.1.man | 3 ++- 4 files changed, 59 insertions(+), 3 deletions(-) diff --git a/src/devices/grohtml/grohtml.1.man b/src/devices/grohtml/grohtml.1.man index 20d26c07e..482ee139e 100644 --- a/src/devices/grohtml/grohtml.1.man +++ b/src/devices/grohtml/grohtml.1.man @@ -285,7 +285,8 @@ documents that expect it to always be available. .I \%grohtml furthermore supports a naming scheme for East Asian typefaces shared with -.MR grops @MAN1EXT@ +.MR gropdf @MAN1EXT@ , +.MR grops @MAN1EXT@ , and .MR grotty @MAN1EXT@ . . diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man index 14dbd4dfd..9adc37b2b 100644 --- a/src/devices/gropdf/gropdf.1.man +++ b/src/devices/gropdf/gropdf.1.man @@ -710,6 +710,59 @@ and therefore included in the default file. . . +.P +.I gropdf +furthermore supports a naming scheme for East Asian typefaces +shared with +.MR grohtml @MAN1EXT@ , +.MR grops @MAN1EXT@ , +and +.MR grotty @MAN1EXT@ . +. +. +.RS +.TP +.B CSH +Simplified Chinese, +Hei style +. +.TQ +.B CSS +Simplified Chinese, +Song style +. +.TQ +.B CTH +Traditional Chinese, +Hei style +. +.TQ +.B CTS +Traditional Chinese, +Song style +. +.TQ +.B JPG +Japanese, +Gothic style +. +.TQ +.B JPM +Japanese, +Mincho style +. +.TQ +.B KOG +Korean, +Gothic style +. +.TQ +.B KOM +Korean, +Mincho style +.RE +. +. .\" ==================================================================== . SS "Device extension commands" .\" ==================================================================== diff --git a/src/devices/grops/grops.1.man b/src/devices/grops/grops.1.man index 8fbde82c1..93ddd0622 100644 --- a/src/devices/grops/grops.1.man +++ b/src/devices/grops/grops.1.man @@ -891,7 +891,8 @@ file. .I grops furthermore supports a naming scheme for East Asian typefaces shared with -.MR grohtml @MAN1EXT@ +.MR grohtml @MAN1EXT@ , +.MR gropdf @MAN1EXT@ , and .MR grotty @MAN1EXT@ . . diff --git a/src/devices/grotty/grotty.1.man b/src/devices/grotty/grotty.1.man index 684f03b02..84b126515 100644 --- a/src/devices/grotty/grotty.1.man +++ b/src/devices/grotty/grotty.1.man @@ -407,7 +407,8 @@ attempts to set or change the font family or type size are ignored. .I grotty furthermore supports a naming scheme for East Asian typefaces shared with -.MR grohtml @MAN1EXT@ +.MR grohtml @MAN1EXT@ , +.MR gropdf @MAN1EXT@ , and .MR grops @MAN1EXT@ . . _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit