I've recently been getting into using sifr as a healthy alternative to generating text as image using php. I've got a question about underlining text, for a website design I need to be able to specify the thickness of the underline and the distance from the text, is there any way to accomplish this with sifr? If not, is there a way to be able to solve this with css? I've been trying to get my head around it, but since I haven't found a way to get the exact width of the sifr text, I'm doubting whether it's possible at all.
Any thoughts on this? They're much appreciated.
Kind regards,
Thijs.
I suspect that Flash renders a fake underline, and no, you can't change how it looks. The only option would be to render a border underneath the Flash movie using HTML & CSS, but I don't that'll work very well.
With sIFR 3, if you specify the fitExactly: true option in the replacement, the Flash movie will be the same width as the internal text.
Related
I need to know the name of the font used in the freelancer.com logo? I tried to find out using WhatTheFont but without success.
I really need this font name.
Thanks to everybody.
WhatTheFont has a forum where you can post a graphic containing the font in question and (with luck) get responses from actual people who may be able to identify it.
I would like to know, сan GhostScript render pdf on image (such as jpeg) without text? If not, advise the free library for .net, that it will make.
Sorry for my English. Thx!
What do you mean by 'render without text' ? Do you mean that you want all the content of a PDF page rendered to a format which doesn;t contain text (such as JPEG), or do you mean you want all the content of a PDF page except the text rendered, to a file format such as JPEG.
Its possible to elide the text, but its not a command line switch or anything like that, because its pretty hard to see why you want to do this.
If you really do want to do it, then your best bet is to modify the text handling procedures in the PDF interpreter, I would suggest that you don't alter the processing but set the text rendering mode to mode 3 (neither stroke nor fill) to prevent any problems with the current point not being correct.
I'm trying to make 3 different circles to my website. I don't want to insert it as a graphic/image file. So I've been trying to achieve it using CSS3, but I can't really work my fingers around it.
What will it look like?
I have uploaded a picture of what I'm trying to achieve at: www.sp34k.com/etc/circles.jpg
I can't really show the code I've been trying to use to achieve this, as it all looks totally weird and nothing floats currectly.
What I've tried
What I've tried is to make 3 circles with position absolute and then use % (percentage) to determine the width of the colored parts, but I can't twist my mind around how it should be set up.
Any suggestions is appreciated,
Mike
Here is a simple try of me to achieve the effect you want:
DEMO
edit: css-only solution
It can be easily animated with javascript or keyframes. Arbitrary content would go into the inner div. To change the percentage, simply adjust the angle of the pseudo-elements.
With a little more effort this could be easily refined I guess;)
Note: the transform has the webkit-prefix, so it works only in chrome/safari - to see it in firefox or other browsers, you need to change the prefix.
P.S. I will animate it when I'm home from work.
Good one by Christoph but he is using SASS/SCSS which are comparatively slow then normal CSS because they have to be converted to CSS before browser render it so I have have a different Solution for you
try this fiddle
I am working on an application where I need to display color coded indicators. The standard colors will be red/amber/green, but I need to be able to pick any color (e.g. by hex value). The colors are updated dynamically by a script, based on data (dashboard style).
Are there libraries that could help me? I am thinking in particular about using svg or canvas graphics that the script could modify.
Note: the question has been rephrased to better explain the context.
I like this collection on WikiCommons. They are in SVG
http://commons.wikimedia.org/wiki/Tango_icons
Here are a couple of links to start with:
nounproject
openiconlibrary
openclipart
small iconset for use with raphaël
How do I prevent colors form bleeding into one another when using the vb .net Graphics.Drawstring method. This Occurs with colors that really shouldnt be used together eg green/orange and black and red.
Thanks
Sounds like you have antialiasing enabled. Have you tried to disable that?
I fixed this by generating png's instead of jpegs the quality ended up being a lot better