I was going through my patch backlog, and came across a conversation about "G" vs "6". Rather than manually tweak the default_font file, I almost wrote a script to convert the font into a .pcb and back, then realized it would be easier to do it inside pcb itself.
So I did :-) As of CVS today, if you run the FontEdit() action (i.e. type :fontedit), it replaces the current board (with the usual "are you sure?") with the current font and a grid. Each character is placed on a grid crossing, expanded into line segments, with the "width" indicated by a line on its own layer. You can edit the symbols with the usual line-editing techniques, including saving the board and editing it more later. When you're done, run FontSave() (i.e. type ":fontsave") and the lines are copied back into the font for that board. Then save that board to disk and you can cut and paste the font out of it into default_font. The neat part is, you can use the Text tool to add sample text on the board too, and each time you run FontSave() and redraw the screen (zoom in/out or pan works for me), the text is updated immediately. Yes, it's kinda crude, but it works and it's useful. We can pretty it up later. _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
