user interface - Choosing a cross-platform graphics library for perfect text rendering -
user interface - Choosing a cross-platform graphics library for perfect text rendering -
i want write simple text editing application in c/c++ ( devoted source code editing ) these specifications:
cross-platform ( windows, os x, linux ) with much possible same appearence on each os insanely fast a superior font printing quality * of import of * it's not of import widget support, don't need complex back upwards of widget precedence software code architecture , speed instead of speed coming back upwards of hardware accelerationbefore writing made study , search on net, need advice take better:
gtk+ , wxwidgets: finish set of libraries finish task sdl: offers virtualization layer on platform, can write platform independend graphics using sdl primitives cairo ( or pango ): skia views ( utilize within chromium http://www.chromium.org/developers/design-documents/chromeviews) agg ( anti grain geometry: seems best text rendering library subpixel feature, speed , support? ) fog-framework ( http://code.google.com/p/fog/ ): seems too, misses functionalities open gl scintillai discarded qt, don't how utilize it.
which things miss using library instead of another? , support? in cases, it's not clear me each library offers me , work have reach goal ( eg. other layers add together graphics project ).
an illustration of graphic stack organization helps me much take right tool. have take right balance customization , deploy speed. eg: sdl offers less cairo or skia? etc. eg. ( starting layers closer os )
backend ( = virtualization of os graphics ) ? ? ? rapid application toolkit compose widgets application
just little suggestions:
cross-platform + insanely fast
does not seem because need kind of cross-platform environment java,... , plenty speed killing. cross-platform code java first thing cause problems in different platform tested "executable" not usable ... have seen many times on mobile apps
opengl
it have no native font back upwards need write own or utilize lib.
insanely fast
what mean ? should specify question little farther engine target fps. of coarse text editors event based redraw total speed redraw rate (fps) still have meaning. interface (mdi/sdi), kind of info (you wrote source code,html,tables...?):
syntax highlight (number of languages,rt language detection,...) page size in characters (gives insight of needed text processing speed) pitch (fixed or variable char width) text size (it different work texts<100kb
, >10mb
) what unicode back upwards ? what have done now?
my advice
forget cross-platform , build separate executables. core source code can still same window/os stuff differ. opengl rendering fine not utilize funny stuff opengl 4.0 because nvidia , more or less ati supports it. there many intel graphics in notebooks out there. avoid utilize of multi rendering context same reason.
user-interface opengl cross-platform sdl cairo
Comments
Post a Comment