Bug Report T618170
Visible to All Users

TdxRichEditControlReportLink - Font sizes in the resulting document are calculated incorrectly if the system DPI exceeds 96

created 7 years ago

Hello,

the export from TdxRichEditControl to PDF does not export correct font sizes when running on high dpi systems.
To reproduce please compile the atteched example and run on a high dpi system.

Best regards,
Michael

PS.: Example will be posted within an answer.

Show previous comments (1)
DevExpress Support Team 7 years ago

    Hello Michael,

    Thank you for the sample. We will examine it, but this will take us some time.

    MS MS
    Michael Schwarzl 7 years ago

      Hello Mikhail,

      have you been able to reproduce the behaviour and do you any timeframe for me?

      Best regards,
      Michael

      DevExpress Support Team 7 years ago

        Hello Michael,

        Our developers are working on this issue. I am afraid I cannot give you a precise time frame as to when this issue will be fixed.

        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.

          Comments (2)
          MS MS
          Michael Schwarzl 7 years ago

            Hello,

            thank you for providing the fix!
            Unfortuneately I experience an other problem now:

            To get a correct pagination I switch to Twips as LayoutUnit:

            Delphi
            dxRichEditControl1.LayoutUnit := TdxDocumentLayoutUnit.Twip;

            but after doing this the export to PDF is broken. The fonts are extremly small, so the PDF viewers show the texts as a line.

            Best regards,
            Michael

            DevExpress Support Team 7 years ago

              Hello Michael,

              I've created a separate ticket on your behalf (T643076: After the export to PDF text becomes smaller). It has been placed in our processing queue and will be answered shortly.

              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.