Update of bug #68345 (group groff):

                  Status:             In Progress => Fixed
             Open/Closed:                    Open => Closed

    _______________________________________________________

Follow-up Comment #5:


commit df0f037eba362d516f8c7f59e16b51543a785c09
Author: G. Branden Robinson <[email protected]>
Date:   Mon Jul 13 12:50:37 2026 -0500

    [tmac,troff]: Fix Savannah #68345.
    
    Warn about a deprecated font name only if it isn't translated to a non-
    deprecated name.
    
    * tmac/ps.tmac: Drop font translations of deprecated names; leave it up
      to the user to do this.
    
    * src/roff/troff/env.cpp (environment::select_font): Look up the font's
      translated name using "node.cpp"'s `get_font_translation()`.  Move
      check for deprecated font name to follow font translation.
    
    * src/roff/troff/node.cpp (get_font_translation): Drop `static` linkage;
      as noted above, the function needs external visibility now.  Annotate
      planned future reversal of this change.
    
    * src/roff/troff/node.h: Declare `get_font_translation`.  Annotate
      planned future reversal of this change.
    
    Fixes <https://savannah.gnu.org/bugs/?68345>.  Thanks to Deri James for
    prompting this (IMO) superior direction for font name deprecation to
    take.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68345>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to