File: //usr/share/inkscape/extensions/next_glyph_layer.pyo
�
��Yc @ sQ d Z d d l Z d e j f d � � YZ e d k rM e � Z e j � n d S( s�
Copyright (C) 2011 Felipe Correa da Silva Sanches
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
i����Nt NextLayerc B s e Z d � Z d � Z RS( c C s t j j | � d S( N( t inkext Effectt __init__( t self( ( s2 /usr/share/inkscape/extensions/next_glyph_layer.pyR s c C s | j j � | _ | j j t j d d � � } d } g } xq | D]i } d | j t j d d � � k rC | j | � | j d � d k r� | d 7} t | � d } q� qC qC W| d k s� t | � d
k r� d S| | j d d � | | d t | � j d d � d S( Nt gt svgi s GlyphLayer-t labelt inkscapet styles display:inlinei i s display:none(
t documentt getrootR t findallR t addNSt gett appendt lent set( R t groupst countt glyphsR t current( ( s2 /usr/share/inkscape/extensions/next_glyph_layer.pyt effect s
!
"( t __name__t
__module__R R ( ( ( s2 /usr/share/inkscape/extensions/next_glyph_layer.pyR s t __main__( t __doc__R R R R t et affect( ( ( s2 /usr/share/inkscape/extensions/next_glyph_layer.pyt <module> s