These patches define the expected format and naming convention for SVG images representing the tablets.
libwacom does not parse any of the images, all it does is providing a path to the SVG images. The complexity lies in the client applications which can then use these SVG as graphics representation of the tablets or parse the XML to get the different buttons size and locations. The naming convention of the various objects in the SVG image allows apps to apply different styles using CSS. The naming convention is explained in the README file in the data/images/ subdirectory. The patches also provide a sample implementation of such an application using librsvg-2.x and gtk+-2.x. This sample application can be used to display the current tablet images provided. This application is built only if the required libraries are found on the ystem (ie it's optional and libwacom itself does depend on neither librsvg nor gtk+) Also included is a SVG validator (also buil;t optionaly since it uses librsvg-2.x). Last but not least, some tablet definitions did not provide the buttons location (top/left/right/bottom) which may be required by some application to set the text orientation of the labels for the buttons, the last patch of th serie fixes that (and also adds a check for this it the tablet validity tests) ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel