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

RE: [XaraXtreme-dev] Text rendering status

Great - it's good to see text starting to render. Thanks Martin.

I've just checked in some test files for you to work with. Most if not
all of them contain text objects with a red bitmap copy of the text
positioned exactly behind. This makes it easy to see whether the text is
being rendered correctly, because it should fit exactly on top of the
bitmap copy.

The XAR files are in the new TextDesigns directory. Start with



> -----Original Message-----
> From: owner-dev@xxxxxxxxxxxxxxxx [mailto:owner-dev@xxxxxxxxxxxxxxxx]
> Behalf Of Martin Wuerthner
> Sent: 31 March 2006 14:57
> To: dev@xxxxxxxxxxxxxx
> Subject: [XaraXtreme-dev] Text rendering status
> wxGTK builds of revision 750 are finally able to render text objects
> in existing .xar files. Text rendering support is still rather basic,
> but all the essential interfaces are supported, so it should be
> possible to enable the text tool soon.
> This is the current status of text rendering:
>    - Text objects are rendered and can be selected, moved,
>      rotated, copied, you can apply fill and outline colours,
>      etc., but the text itself cannot be edited until the text
>      tool is enabled.
>    - Text object formatting should work OK, so text objects are
>      reformatted to reflect the substituted fonts when a file is
>      loaded.
>    - Font mapping is not implemented yet, the Windows font names
>      as found in the file are simply passed to Pango, which is
>      unlikely to know any of them. As a consequence, you are
>      likely to see the same default font substituted for most
>      fonts. fontconfig (see /etc/fonts for the fontconfig
>      configuration files) offers system-wide font mapping
>      support, which is probably used.
>    - Applied Bold/Italic effects are supported - in contrast to
>      having text in a "Bold" font, which, if the font is unknown,
>      is not taken into account
>    - "Convert to editable shapes" does not do anything yet.
>    - No automatic kerning yet.
> Find attached below a small test file with some text objects.
> Martin