translatable about screen
Today I was wondering about how to make the about screen more easily translatable. I figured out that the main problem is that text and effects applied to it are stored as curves. Maybe if we could use raw text and apply filters to it, then translators would have an easier task. This made me try to implement the mirrored reflex effect that we can see in the 0.45 about screen using filters. This is what I came up with:
(1) feImage xlink:href=#(gradientrect) (2) feDisplacementMap input=SourceGraphic and displacement map=(1) <-- makes the mirrored reflex (3) feComposite input1=(2) input2=SourceGraphic <-- adds the original image to it
apply a linear gradient to the rect whose id is gradientrect This gradient must be setup so that it mirrors the source graphic when applied to feDisplMap We probably would need to have an additional primitive on this stack, in order to alter opacity in the reflex
Unfortunately, we don't have feImage working yet. Maybe there is another way of implementing this. And it also remains the problem of having to depend on system available fonts Anyway, this is just brainstorm :-D
This also brings to discussion the general question about tools to make easily translatable drawings using SVG.
Juca
Felipe Sanches wrote:
Today I was wondering about how to make the about screen more easily translatable. I figured out that the main problem is that text and effects applied to it are stored as curves. Maybe if we could use raw text and apply filters to it, then translators would have an easier task. This made me try to implement the mirrored reflex effect that we can see in the 0.45 about screen using filters. This is what I came up with:
There is a solid reason to transform text to paths: font availability. Is is a decision the designer has to make and live with it: either use a font universally available (there is such a thing? does look not boring?) or convert text to paths and lose the ability to translate. Is a lose-lose situation.
This also brings to discussion the general question about tools to make easily translatable drawings using SVG.
Here is an awesome writing about this (and cool graphics too) from Andy: http://andy.brisgeek.com/archives/45
participants (2)
-
Felipe Sanches
-
Nicu Buculei