[CREATE] OpenRaster fallbacks (proposal/RFC)

Alexandre Prokoudine alexandre.prokoudine at gmail.com
Thu Jul 30 04:51:26 PDT 2009


On Sat, Jul 25, 2009 at 8:26 PM, Martin Renold wrote:

> This is a proposal to add generic fallbacks to OpenRaster.
>
> My motivation for pushing this is that I want to save the tiled
> background in MyPaint properly and compatible with Krita, and I want
> the new images to look correct in today's version of Krita, MyPaint
> and DrawPile.
>
> Summary:
>
> A <try> element can be put around something that provides a fallback.
> If the required features are implemented, then the element that
> follows the <try> is removed and the content of the <replacement> is
> inserted in its place. Otherwise the try itself is dropped.
>
> ...
> <stack>
>  ...
>  <try>
>    <require>
>      <feature name="text layers" />
>    </require>
>    <replacement>
>      <text>
>        some text
>      </text>
>    </replacement>
>  </try>
>  <layer name="rendered text" src="data/text_fallback.png" />

Just to make sure... Should some particular hinting be forced for
fallback bitmaps of text or the app should store what the user sees
when saving?

Alexandre


More information about the CREATE mailing list