gbranden pushed a commit to branch master
in repository groff.

commit d00b23eeeb5eb42240d8b2569412f2737707eeec
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Apr 13 11:16:55 2026 -0500

    src/roff/troff/node.cpp: Notate future directions.
---
 src/roff/troff/node.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index b9440f93b..8259e978f 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -258,8 +258,9 @@ int resolve_current_font_to_mounting_position(environment 
*env)
 
 /* font_info functions */
 
+// TODO?: -> std::vector<font info *>
 static font_info **font_table = 0 /* nullptr */;
-static int font_table_size = 0;
+static int font_table_size = 0; // TODO?: font_table.size()
 
 font_info::font_info(symbol nm, int n, symbol enm, font *f)
 : last_tfont(0 /* nullptr */), number(n), last_size(0),
@@ -848,8 +849,8 @@ class troff_output_file : public real_output_file {
   color *current_fill_color;
   color *current_stroke_color;
   int current_font_number;
-  symbol *font_mounting_position;
-  int mounting_position_count;
+  symbol *font_mounting_position; // TODO?: -> std::vector<symbol>
+  int mounting_position_count; // TODO?: font_mounting_position.size()
   enum { TBUF_SIZE = 256 };
   char tbuf[TBUF_SIZE];
   int tbuf_len;
@@ -1267,6 +1268,7 @@ void troff_output_file::set_font(tfont *tf)
     put(' ');
     put(nm.contents());
     put('\n');
+    // TODO?: font_mounting_position.push_back(nm);
     if (n >= mounting_position_count) {
       int old_mounting_position_count = mounting_position_count;
       symbol *old_font_mounting_position = font_mounting_position;

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to