Re: Pending Pull Requests, Pressing Issues?
Frank Trampe <[email protected]> Tue, 6 Sep 2016 18:15:53 -0500
| Newsgroups | gmane.comp.fonts.fontforge.devel |
|---|---|
| Message-ID | <CANkSbho4XF7sTqUiOm8L0BcTzyVgevb1_KohyB439SSECCnzCQ@mail.gmail.com> |
We would aim to add configurable menus to the font view, the character view, and the metrics view. I think that a successful design would look like this. - The theme default file can specify file names for menu overlay files for each of the three big views. - We would make all routines called from menus accessible via the FontForge scripting interface. - The menu overlay files contain an XML representation of the nested GMenuItem2 and GTextInfo data, including image file names and fixed function names. (CSV can't do nesting.) - At start, FontForge parses the XML into native GTextInfo and GMenuItem2 data, with pointers to native scripting functions and overlaid translations. - This would (initially) be disabled by default, to be enabled via the preference file. In the absence of a preference file, FontForge parses the menu system for the selected theme, and, if valid, enables dynamic menus in the preference file and loads the parsed menu system. Otherwise, it uses the existing static data. On Tue, Sep 6, 2016 at 1:20 PM, Frank Trampe <[email protected]> wrote: > I'll take a closer look today. > > > On Tue, Sep 6, 2016 at 1:15 PM, Dave Crossland <[email protected]> wrote: > >> >> On 6 September 2016 at 19:04, Frank Trampe <[email protected]> >> wrote: >> >>> Completely. It just rearranges the arrays of things. >>> >> >> How long would it take to develop a configurable system? >> >> XML seems like overkill, I think CSV would be fine :) >> >> ------------------------------------------------------------ >> ------------------ >> >> _______________________________________________ >> fontforge-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/fontforge-devel >> http://fontforge.10959.n7.nabble.com/Developer-f3.html >> >> > ------------------------------------------------------------------------------ _______________________________________________ fontforge-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fontforge-devel http://fontforge.10959.n7.nabble.com/Developer-f3.html