User Tools

Site Tools


geda:pcb_fonts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
geda:pcb_fonts [2016/12/06 08:41]
cparker [File Load]
geda:pcb_fonts [2016/12/06 09:03] (current)
cparker [File Load]
Line 194: Line 194:
  
 ===Post Loading Policy=== ===Post Loading Policy===
-The policy defines how to handle objects that need fonts but were not assigned one during load.+The policy defines how to handle objects that need fonts but were not assigned one during load. This is the magic that will hopefully make pcb "do the right thing" when loading older versions of pcb files.
  
-==Default Font Name== +==System Font and Default Font Name== 
-If during ​the file load,+The first (font related) thing pcb tries to do after loading all the data from a pcb file is figure out if it needs to change the current system font. If a ''​DefaultFontName''​ was specified, ​the system font is changed to this font. If we're dealing with an older file, there will be no ''​DefaultFontName''​ specified, but there still might be font data in the file (as loose symbols), and if there is, then it should be used. Symbol data gets loaded as a font in the embedded library, so if there are any fonts in the embedded library, the first one is set to be the system font. (Is this behavior okay if there are embedded fonts but no default font?)
  
 ==Text Data== ==Text Data==
Line 206: Line 206:
 These are tasks and ideas related to the font subsystem that still need to be done, could be done, or are in progress: These are tasks and ideas related to the font subsystem that still need to be done, could be done, or are in progress:
   * Move work done in ChangeFontAction to separate function to isolate the work from the undo serial number increment   * Move work done in ChangeFontAction to separate function to isolate the work from the undo serial number increment
 +  * Check what happens when loading a font file if a ''​DefaultFontName''​ is specified
   * Add licensing info to font files   * Add licensing info to font files
   * Add fonts to install (and figure out where they should go)   * Add fonts to install (and figure out where they should go)
geda/pcb_fonts.1481031686.txt.gz · Last modified: 2016/12/06 08:41 by cparker