Unicode libs x3 #489

Merged
merged 5 commits into from Apr 2, 2013

Projects

None yet

1 participant

Contributor
JoesCat commented Mar 31, 2013

Complete re-write, and cleanup of all #ifdef statements, plus separated library calls away from GUI files so that they can be re-used in native scripting and python (this is not done but now available for anyone interested in writing such code).

namelist library code all funnels through the file "fontforge/unicodelibinfo.c" which contains three functions:
(1) inituninameannot() which existed in 20120731-b and likely called by programs that made use of the fontforge namelist library.
(2) unicode_name(codevalue)
(3) unicode_annot(codevalue)

JoesCat added some commits Mar 31, 2013
@JoesCat JoesCat Separate the unicode library calls out of the GUI files into one file
Library calls all happen here when using library 'FontForge'. 3 choices.
efed7d5
@JoesCat JoesCat Cleanup start.c, re-introduce some 20120731-b variables and function.
If any other non-FontForge programs exist which are still using
unicode_nameannot or calling inituninameannot(), then these are available
for those programs to use again.
c073fb4
@JoesCat JoesCat Cleanup #ifdefs for bitmapview.c. charinfo.c, charview.c, fontview.c
Use unicode_name() or unicode_annot(), which then chooses a library to use.
ecc1bb5
@JoesCat JoesCat Cleanup gchardlg.c, re-introduce some 20120731-b variables and function.
If any other non-FontForge programs exist which are still using
unicode_nameannot or calling inituninameannot(), then these are available
for those programs to use again. code cleanup to remove ifdefs and send
all unicode library calls through ../fontforge/unicodelibinfo.c
bddb659
@JoesCat JoesCat referenced this pull request Mar 31, 2013
Closed

Unicode tooltips empty #401

@JoesCat JoesCat Revert "Revert "Check if using older libuninameslist library or using…
… newer version now""

This reverts commit 4f7bb5b.
This can now see old or new libuninamelist and safe to apply now
7b1be0d
@JoesCat JoesCat merged commit 6c7af5d into fontforge:master Apr 2, 2013
@JoesCat JoesCat deleted the JoesCat:unicode_libs_x3 branch Apr 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment