Is it possible to create text stylesheets in Inkscape? I only see selection of face and size and a few other attributes but nothing like a style sheet as in InDesign or even Illustrator.
If not a stylesheet tool that resides within Inkscape, how about allowing Inkscape to link to a CSS style sheet, allowing it to have typestyles that way?
thanks for any clues about this!
lb
type stylesheets for Inkscape?
- flamingolady
- Posts: 687
- Joined: Wed Jun 10, 2009 1:40 pm
Re: type stylesheets for Inkscape?
I'm not sure what a 'stylesheet' is, so sorry that I cannot help. I did want to mention for you to check out the JessyInk (search these forums) and see if that will help you out until someone more knowledgeable pops on.
-
- Posts: 57
- Joined: Fri Feb 11, 2011 3:46 am
Re: type stylesheets for Inkscape?
oh, ok..here's the concept of a stylesheet..
originated in word processing apps and page layout apps, like quark and indesign, then later on the web as css
A stylesheet contains attributes of a hunk of type..what font, what size, what leading...width, paragraph spacing, etc.
All hunks assigned to that stylesheet take on those attributes. PLUS (and this is the cool part) when you change the stylesheet, all type assigned to it updates instantly!
you can imagine in a large print document, or on a web site, this is pretty valuable to have.
in CSS, stylesheets go beyond type attributes, and include borders, rounded corners, drop shadows, transitions, opacity, etc.
originated in word processing apps and page layout apps, like quark and indesign, then later on the web as css
A stylesheet contains attributes of a hunk of type..what font, what size, what leading...width, paragraph spacing, etc.
All hunks assigned to that stylesheet take on those attributes. PLUS (and this is the cool part) when you change the stylesheet, all type assigned to it updates instantly!
you can imagine in a large print document, or on a web site, this is pretty valuable to have.
in CSS, stylesheets go beyond type attributes, and include borders, rounded corners, drop shadows, transitions, opacity, etc.
- flamingolady
- Posts: 687
- Joined: Wed Jun 10, 2009 1:40 pm
Re: type stylesheets for Inkscape?
Thanks for the explanation, yes, I do see the value in that! Never heard of this in Inkscape before, but, if I'm understanding you correctly, would this be so you can use the Inkscape program on say an IPad and also a computer? Because to my knowledge it hasn't been developed for use beyond a computer. I could be wrong, I could be WAY off on this subject, only making an assumption since this is the first time seeing this subject. So, I haven't seen a stylesheet here, or discussion thereof, but, I also don't follow every thread. I've always thought that Inkscape's layouts are carried over in the XTML language, because it's been made to easily be copied for people who understand it, but that info could be wrong too.
Hope someone with actual knowledge will pop on to answer you.
dee
Hope someone with actual knowledge will pop on to answer you.
dee
-
- Posts: 57
- Joined: Fri Feb 11, 2011 3:46 am
Re: type stylesheets for Inkscape?
no, my idea would be so that we could introduce type styles to Inkscape, via CSS.
but I am not a programmer so I don't know whether my idea is relatively simple to implement, with the "hooks" already there, or more like trying to build a suspension bridge across the pacific ocean.
but I am not a programmer so I don't know whether my idea is relatively simple to implement, with the "hooks" already there, or more like trying to build a suspension bridge across the pacific ocean.
Re: type stylesheets for Inkscape?
I was just wondering why do you want stylesheets in Inkscape? Is it to change the look of the Inkscape interface? I thought CSS was only used for web design.
Re: type stylesheets for Inkscape?
I beleive styles need to be supported by svg before it can be used.
Re: type stylesheets for Inkscape?
Hello:
Lets see:
- The SVG file format DOES support stylesheets:
http://www.w3.org/TR/SVG/styling.html
- Inkscape CAN save CSS stylesheets into the svg file, and CAN recognize that a CSS stylesheet is applied to the file, BUT actually (inkscape 0.48) has limitations around this feature:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Web-Style.html
So please, share any information or improvement around this topic.
Lets see:
- The SVG file format DOES support stylesheets:
http://www.w3.org/TR/SVG/styling.html
- Inkscape CAN save CSS stylesheets into the svg file, and CAN recognize that a CSS stylesheet is applied to the file, BUT actually (inkscape 0.48) has limitations around this feature:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Web-Style.html
So please, share any information or improvement around this topic.
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
- flamingolady
- Posts: 687
- Joined: Wed Jun 10, 2009 1:40 pm
Re: type stylesheets for Inkscape?
Actually I have the same questions as Minky above, thought CSS was for viewing in websites or apps only.
I also wonder how long ago that part of the manual was written. some of the manual gets updated a lot and some is original, so I'm wondering if it's still in it's infancy or maybe someone has worked on it, if that's the case, then maybe you could hook up with the person/people who are developing it.
I also wonder how long ago that part of the manual was written. some of the manual gets updated a lot and some is original, so I'm wondering if it's still in it's infancy or maybe someone has worked on it, if that's the case, then maybe you could hook up with the person/people who are developing it.
Re: type stylesheets for Inkscape?
Hi.
Demo of SVG stylesheet: http://svg-wow.org/blog/category/style/
( Click Start SVG demo close to the upper right corner )
Some more info; http://tutorials.jenkov.com/svg/svg-and-css.html
SVG made from the code on above page;
SVG Code;
Needs more experimenting!
Sky's (not) the limit!
RGDS
Ragnar
Demo of SVG stylesheet: http://svg-wow.org/blog/category/style/
( Click Start SVG demo close to the upper right corner )
Some more info; http://tutorials.jenkov.com/svg/svg-and-css.html
SVG made from the code on above page;
SVG Code;
Code: Select all
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
width="60"
height="140"
<style
type="text/css"
id="style4">
circle.myGreen {
stroke: #006600;
fill: #00cc00;
}
circle.myRed {
stroke: #660000;
fill: #cc0000;
}
</style>
<circle class="myGreen" cx="40" cy="40" r="24"/>
<circle class="myRed" cx="40" cy="100" r="24"/>
</svg>
Needs more experimenting!
Sky's (not) the limit!
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
-
- Posts: 57
- Joined: Fri Feb 11, 2011 3:46 am
Re: type stylesheets for Inkscape?
flamingolady wrote:Actually I have the same questions as Minky above, thought CSS was for viewing in websites or apps only.
I also wonder how long ago that part of the manual was written. some of the manual gets updated a lot and some is original, so I'm wondering if it's still in it's infancy or maybe someone has worked on it, if that's the case, then maybe you could hook up with the person/people who are developing it.
respectfully..I explain why in my earlier posts. my interest is in having type styles for Inkscape, and I thought that css might be one way of getting them.
lb