[librsvg.wiki] Reorganise SVG2 Features, split out text features



commit 202e9cca3a52e371f2e08a2c6840fc00de2bf523
Author: madds-h <madeline hollandart io>
Date:   Tue Jun 15 15:25:28 2021 -0500

    Reorganise SVG2 Features, split out text features

 home.md          |  4 +++-
 svg2-features.md | 64 +++++++++++++++++++-------------------------------------
 text-features.md | 35 +++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 43 deletions(-)
---
diff --git a/home.md b/home.md
index b602a65..6ecbb12 100644
--- a/home.md
+++ b/home.md
@@ -2,4 +2,6 @@
 
 * [Internals documentation](https://gnome.pages.gitlab.gnome.org/librsvg/doc/librsvg/index.html)
 
-* [SVG2 Features](svg2-features)
\ No newline at end of file
+* [SVG2 Features](svg2-features)
+
+* [SVG2 Text Features](text-features)
\ No newline at end of file
diff --git a/svg2-features.md b/svg2-features.md
index 2f9df75..590d223 100644
--- a/svg2-features.md
+++ b/svg2-features.md
@@ -1,14 +1,17 @@
 # SVG2 New Features
+
 | SVG Features             | Name                                                                            
                        | Info / Comments                                                                     
    | Required | Support             |
 
|--------------------------|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|----------|---------------------|
-| Elements                 | meshgradient                                                                    
                        | meshgradient Part of working draft, not release, supported by cairo                 
    |          |                     |
+| Elements                 | hatch                                                                           
                        |                                                                                     
    |          |                     |
+|                          | hatchpath                                                                       
                        |                                                                                     
    |          |                     |
+|                          | HTML embedded content elements (video,audio,canvas,iframe)                      
                        | Not supported                                                                       
    |          | Not Planned         |
+|                          | HTML embedded metadata elements (base,link,meta,style,script)                   
                        |                                                                                     
    |          | Not Planned         |
+|                          | mesh                                                                            
                        | Part of working draft, not release                                                  
    |          |                     |
+|                          | meshgradient                                                                    
                        | Part of working draft, not release, supported by cairo                              
    |          |                     |
 |                          | meshrow                                                                         
                        |                                                                                     
    |          |                     |
 |                          | meshpatch                                                                       
                        |                                                                                     
    |          |                     |
-|                          | mesh                                                                            
                        | Part of working draft, not release                                                  
    |          |                     |
-|                          | hatch                                                                           
                        |                                                                                     
    |          |                     |
-|                          | hatchpath                                                                       
                        |                                                                                     
    |          |                     |
-|                          | HTML embedded content elements                                                  
                        | Not supported                                                                       
    |          | Not Planned         |
-|                          | HTML embedded metadata elements                                                 
                        |                                                                                     
    |          | Not Planned         |
+|                          | solidcolor                                                                      
                        |                                                                                     
    |          |                     |
+|                          | stop                                                                            
                        | Gradient stop                                                                       
    |          |                     |
 | Attributes               | tabindex                                                                        
                        |                                                                                     
    |          | Not Planned         |
 |                          | role                                                                            
                        | Accessibility                                                                       
    |          | Not Planned         |
 |                          | href                                                                            
                        | replacement for xlink:href                                                          
    |          | Supported           |
@@ -16,30 +19,16 @@
 |                          | fr                                                                              
                        | on radialGradient                                                                   
    |          | Supported           |
 |                          | refX and refY                                                                   
                        | on symbol element supports more precise placement in maps and data charts           
    | X        |                     |
 |                          | x,y,width,height                                                                
                        | on symbol (as presentation attribute)                                               
    | X        |                     |
-|                          | pathLength                                                                      
                        |  on all basic shapes                                                                
    | X        |                     |
-| Style Properties         | z-index                                                                         
                        | on all elements, define how SVG creaates stacking contexts                          
    |          | Not yet; only in draft |
-|                          | paint-order                                                                     
                        | control stroke, fill, and marker drawing order                                      
    |          | Supported           |
-|                          | vector-effect                                                                   
                        | non-scaling-size, non-rotation, and fixed position as options (plus 
non-scaling-stroke) | X        | move to text        |
-| Required Properties      | text-overflow                                                                   
                        |                                                                                     
    | X        |                     |
-|                          | isolation                                                                       
                        |                                                                                     
    | X        |                     |
+|                          | pathLength                                                                      
                        | on all basic shapes                                                                 
    | X        |                     |
+| Style Properties         | isolation                                                                       
                        |                                                                                     
    | X        |                     |
 |                          | mix-blend-mode                                                                  
                        |                                                                                     
    | X        |                     |
+|                          | paint-order                                                                     
                        | control stroke, fill, and marker drawing order                                      
    |          | Supported           |
+|                          | solid-color                                                                     
                        |                                                                                     
    |          |                     |
+|                          | solid-opacity                                                                   
                        |                                                                                     
    |          |                     |
 |                          | transform                                                                       
                        |                                                                                     
    | X        |                     |
 |                          | transform-origin                                                                
                        |                                                                                     
    | X        |                     |
 |                          | transform-box                                                                   
                        |                                                                                     
    | X        |                     |
-|                          | text-align                                                                      
                        |                                                                                     
    | X        |                     |
-|                          | text-align-all                                                                  
                        |                                                                                     
    | X        |                     |
-|                          | text-align-last                                                                 
                        |                                                                                     
    | X        |                     |
-|                          | text-indent                                                                     
                        |                                                                                     
    | X        |                     |
-|                          | white-space                                                                     
                        |                                                                                     
    | X        |                     |
-|                          | text-space-collapse                                                             
                        |                                                                                     
    | X        |                     |
-|                          | vertical-align                                                                  
                        |                                                                                     
    | X        |                     |
-|                          | font-feature-settings                                                           
                        |                                                                                     
    | X        |                     |
-|                          | font-kerning                                                                    
                        |                                                                                     
    | X        |                     |
-|                          | font-size-adjust                                                                
                        |                                                                                     
    | X        |                     |
-|                          | font-variant                                                                    
                        |                                                                                     
    | X        |                     |
-|                          | text-decoration                                                                 
                        |                                                                                     
    | X        |                     |
-|                          | text-decoration-fill                                                            
                        |                                                                                     
    | X        |                     |
-|                          | text-decoration-stroke                                                          
                        |                                                                                     
    | X        |                     |
+|                          | z-index                                                                         
                        | on all elements, define how SVG creaates stacking contexts                          
    |          | Not yet; only in draft |
 | Geometric Attributes     | x,y,width,height                                                                
                        | on svg, rect, image, foreignObject,use,symbol                                       
    |          | NYI                 |
 | that can be specified    | cx,cy                                                                           
                        | on ellipse and circle                                                               
    |          | NYI                 |
 | as style properties      | r                                                                               
                        | on circle                                                                           
    |          | NYI                 |
@@ -52,22 +41,13 @@
 |                          | miter-clip                                                                      
                        | for stroke-linejoin  for a more aesthetically pleasing line join shape              
    |          | NYI                 |
 |                          | arcs                                                                            
                        | for stroke-linejoin  for a more aesthetically pleasing line join shape              
    |          | NYI                 |
 |                          | auto                                                                            
                        | for rx and ry                                                                       
    |          | NYI                 |
-|                          | left\|middle\|center                                                            
                        | keywords for refX and refY attributes                                               
    |          | NYI                 |
+|                          | left, middle, center                                                            
                        | keywords for refX and refY attributes                                               
    |          | NYI                 |
 | new path features        | allow closepath commands ‘Z’ and ‘z’ to fill in missing ‘path data’ from 
previous commands              |                                                                              
           |          | ?                   |
 |                          | Added bearing path commands ‘B’ and ‘b’ to ‘path data’                          
                        |                                                                                     
    |          | Draft only          |
 |                          | Define a canonical equivalent path for all basic shapes (used in stroke dashing 
and marker positioning) |                                                                                     
    |          | Already supported?  |
-| Text Layout              | CSS based multi-line text for ‘text content elements’                           
                        |                                                                                     
    |          |                     |
-|                          | - text area is contrained using 'inline-size'                                   
                        |                                                                                     
    |          |                     |
-|                          | - SVG creates a 'content area' and defers to CSS to perform layout within that 
area                     |                                                                                    
     |          |                     |
-|                          | Support more whitespace preservation options using CSS white-space property     
                        |                                                                                     
    |          |                     |
-|                          | shape-inside                                                                    
                        | To support text in shape                                                            
    |          |                     |
-|                          | shape-subtract                                                                  
                        |                                                                                     
    |          |                     |
-|                          | shape-image-threshold                                                           
                        | text in a shape modifier                                                            
    |          |                     |
-|                          | shape-padding                                                                   
                        |                                                                                     
    |          |                     |
-|                          | shape-margin                                                                    
                        |                                                                                     
    |          |                     |
-| Text on path changes     | textPath                                                                        
                        | now can directly specify path data through path attribute                           
    |          |                     |
-|                          | textPath                                                                        
                        | allow referencing basic shapes                                                      
    |          |                     |
-|                          | side                                                                            
                        | attribute added to textPath to enable control of which side the path text is placed 
on  |          |                     |
-|                          | Clarify other areas where there have been inconsistencies                       
                        |                                                                                     
    |          |                     |
-|                          | CSS/OpenType font feature support                                               
                        | alternate glyphs, font-variant, etc                                                 
    | Y        |                     |
-|                          | Support for @font-face roles                                                    
                        |                                                                                     
    | Y        |                     |
+|                          |                                                                                 
                        |                                                                                     
    |          |                     |
+|                          |                                                                                 
                        |                                                                                     
    |          |                     |
+|                          |                                                                                 
                        |                                                                                     
    |          |                     |
+|                          |                                                                                 
                        |                                                                                     
    |          |                     |
+|                          |                                                                                 
                        |                                                                                     
    |          |                     |
+|                          |                                                                                 
                        |                                                                                     
    |          |                     |
diff --git a/text-features.md b/text-features.md
new file mode 100644
index 0000000..a66446a
--- /dev/null
+++ b/text-features.md
@@ -0,0 +1,35 @@
+| SVG Text Features        | Name                                                                            
                        | Info / Comments                                                                     
    | Required | Support             |
+|--------------------------|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|----------|---------------------|
+| Required Properties      | text-overflow                                                                   
                        |                                                                                     
    | X        |                     |
+|                          | text-align                                                                      
                        |                                                                                     
    | X        |                     |
+|                          | text-align-all                                                                  
                        |                                                                                     
    | X        |                     |
+|                          | text-align-last                                                                 
                        |                                                                                     
    | X        |                     |
+|                          | text-indent                                                                     
                        |                                                                                     
    | X        |                     |
+|                          | white-space                                                                     
                        |                                                                                     
    | X        |                     |
+|                          | text-space-collapse                                                             
                        |                                                                                     
    | X        |                     |
+|                          | vertical-align                                                                  
                        |                                                                                     
    | X        |                     |
+|                          | font-feature-settings                                                           
                        |                                                                                     
    | X        |                     |
+|                          | font-kerning                                                                    
                        |                                                                                     
    | X        |                     |
+|                          | font-size-adjust                                                                
                        |                                                                                     
    | X        |                     |
+|                          | font-variant                                                                    
                        |                                                                                     
    | X        |                     |
+|                          | text-decoration                                                                 
                        |                                                                                     
    | X        |                     |
+|                          | text-decoration-fill                                                            
                        |                                                                                     
    | X        |                     |
+|                          | text-decoration-stroke                                                          
                        |                                                                                     
    | X        |                     |
+| Text Layout              | CSS based multi-line text for ‘text content elements’                           
                        |                                                                                     
    |          |                     |
+|                          | - text area is contrained using 'inline-size'                                   
                        |                                                                                     
    |          |                     |
+|                          | - SVG creates a 'content area' and defers to CSS to perform layout within that 
area                     |                                                                                    
     |          |                     |
+|                          | Support more whitespace preservation options using CSS white-space property     
                        |                                                                                     
    |          |                     |
+|                          | shape-inside                                                                    
                        | To support text in shape                                                            
    |          |                     |
+|                          | shape-subtract                                                                  
                        |                                                                                     
    |          |                     |
+|                          | shape-image-threshold                                                           
                        | text in a shape modifier                                                            
    |          |                     |
+|                          | shape-padding                                                                   
                        |                                                                                     
    |          |                     |
+|                          | shape-margin                                                                    
                        |                                                                                     
    |          |                     |
+| Text on path changes     | textPath                                                                        
                        | now can directly specify path data through path attribute                           
    |          |                     |
+|                          | textPath                                                                        
                        | allow referencing basic shapes                                                      
    |          |                     |
+|                          | side                                                                            
                        | attribute added to textPath to enable control of which side the path text is placed 
on  |          |                     |
+|                          | Clarify other areas where there have been inconsistencies                       
                        |                                                                                     
    |          |                     |
+|                          | CSS/OpenType font feature support                                               
                        | alternate glyphs, font-variant, etc                                                 
    | Y        |                     |
+|                          | Support for @font-face roles                                                    
                        |                                                                                     
    | Y        |                     |
+|                          | vector-effect                                                                   
                        | non-scaling-size, non-rotation, and fixed position as options (plus 
non-scaling-stroke) | X        |                     |
+
+||||||
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]