Bug Report T622524
Visible to All Users

SVG Images - A "text" element containing Unicode character codes displays them as is instead of the corresponding characters

created 7 years ago

I'm displaying a SVG file via a TdxSmartImage, and the character referenced spaces in text in it are coming out as the references rather than the actual character.

i.e. The text "This is the title" is appearing on-screen rather than "This is the title"

I've attached a very simple sample project illustrating this, along with the original SVG file.

Am I missing a setting here, or has something changed in DevExpress itself?

Comments (2)
DevExpress Support Team 7 years ago

    Hello Ian,

    Thank you for sharing your sample image. I have reproduced this behavior with it and forwarded this ticket to our developers for research. I hope we will be able to find a solution soon.

      Great - thanks Paulo.

      Not a critical thing there as in the short term I've got a workaround that loads the SVG file into a TStringList, replaces all character referenced spaces with actual spaces, then saves it back - a bit on the basic side, but it does seem to work. :)

      Answers approved by DevExpress Support

      created 7 years ago

      We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

      Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.