RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Previous|Next

  • Tickets
  • » Ticket #495

Ticket #495 (Open)Fri Aug 28 03:26:02 UTC 2020

Draw module renders transformed text object incorrectly when using font handle 0

Reported by: Chris Hall (132) Severity: Normal
Part: RISC OS: Application Release:
Milestone: Status Open

Details by Chris Hall (132):

The Draw module version 1.41 (25-Apr-2020) and the earlier version 2.27 (09-Jan-2004) both render a transformed text object incorrectly when its font handle is zero.

Example screen shot (www.svrsig.org/drwtst.zip) shows a text object and a transformed text object rendered by ArtWorks (correctly) and by Draw (incorrectly).

Changelog:

Modified by Sprow (202) Mon, August 31 2020 - 14:17:05 GMT

  • Part changed from Unspecified to RISC OS: Application

If by “font handle is zero” you mean the system font, then this is expected. See PRM 5a-521, which gives details of the differences in handling transformed text between the Drawfile module and !Draw, and hence you can deduce what !Draw will do. Or, put another way, take a look which adjuster handles there are on a line of system font in !Draw.

If you want transformed system font you must use System.Fixed or System.Medium which go via Font Manager and therefore can be transformed.

Modified by Chris Hall (132) Wed, September 09 2020 - 07:20:12 GMT

PRM 4-460 (describing text object type 1) says the font number is the index of the font table name list except when it is zero when it is ‘a system font that is sure to be present’. Page 4-468 (describing transformed text objects type 12) says that theremaining fields are exactly as specified for text objects.

The !Draw application is not relevant to this bug, only the Draw module.

  • Comment on, or change status of, this ticket

Previous|Next

Search tickets

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Options

  • Tickets
  • New ticket
  • Milestones
  • Subversion: Changesets
  • Subversion: Browse
  • CVS: Revisions
  • CVS: Browse
  • Search

RSS feeds Rss

  • Tickets
  • Everything!
  • More feeds...
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Collaboa theme is distantly based on the Collaboa default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Collaboa
This site runs on Rails

Hosted by Arachsys