Font Size

Posted by: patrik on 2 October 2023, 6:39 pm EST

    • Post Options:
    • Link

    Posted 2 October 2023, 6:39 pm EST

    :white_large_square::black_large_square:

    I use this 2 in a form, :black_large_square: is double size in spread but in Excel it’s the same size.

    in here it’s the same size to

  • Posted 3 October 2023, 4:53 am EST - Updated 3 October 2023, 4:58 am EST

    Hi Patrik,

    As per our understanding, you are adding the two images(gray and black square) in your form containing the FpSpread control. The issue is that the black square image is loaded double in size to that of the gray one.

    We tried to replicate the issue by trying the following steps:

    Approach I:

    1. Downloaded the images(gray and black square) from the comment you have posted. Dimensions of both the downloaded images is 72px x 72px.

    2. Inserted these images in an excel file.

    3. Loaded the excel file in fpSpread control and run the application.

    Observation: Application worked fine. Please see the following image:

    Approach II:

    1. Inserted the downloaded images in fpSpread control using the Spread Designer.
    2. Added two square shapes of same dimensions in fpSpread control using the Spread Designer.
    3. Applied the changes to the fpSpread control and run the application.

    Observation: Application worked fine. Please see the following image:

    Kindly check the attached file containing the sample application and the images we loaded. squareImage.zip

    We request you please provide us the exact steps to replicate the issue on our end. We would appreciate if you could provide us an stripped down version of the sample application that shows the issue.

    Additionally, please provide us the following information:

    1. Exact version of the FpSpread control you are using
    2. OS version
    3. VS version
    4. Display settings on your machine
    5. Regional settings on your machine
    6. Are you working on a VM?

    Thanks & Regards,

    Aastha

  • Posted 3 October 2023, 10:40 pm EST - Updated 3 October 2023, 10:47 pm EST

    Hi Aastha

    Thanks for your replay.

    If you go in to edit my post you see that it’s not image,It’s font,

    Font that have same size in this forum. even when I PDF the spread or export to excel.

    It’s only when show it in spread they have different size.

    1. 14.45.20213.0, I can’t upgrade to version 16 because of bug in Export to PDF multi sheet.

      2)Windows 11

      3)VS 2022
    2. have this software installed in about 100 computer(with different hardware) and all client have the same problem.
    3. have that to, same problem there.
  • Posted 4 October 2023, 2:23 am EST

    Hi Patrik,

    Thanks for giving a clearer understanding of the issue. We could replicate the issue with the latest build(16.2.20231.0) as well on Win11 machine. However we could not replicate the issue on Win 10 machine. This seems to be a bug.

    We have escalated this issue to the developers with internal tracking ID: SPNET-34076.

    I can’t upgrade to version 16 because of bug

    We are sorry but the issues are fixed in the upcoming builds only, therefore upgrade will be required to get the fix of the issue. We will update you with the fix version as soon as we get the information from the developers.

    Thanks & Regards,

    Aastha

  • Posted 28 May 2024, 6:50 am EST

    It’s still have this bug in version 17 latest version.

  • Posted 28 May 2024, 6:50 am EST

    I mean about the font size

  • Posted 29 May 2024, 3:19 am EST

    Hello Patrik,

    We are getting in touch with the developers to get an update on this. We will update you soon on this.

    Regards,

    Prabhat Sharma.

  • Posted 30 May 2024, 11:02 am EST

    Hi Patrik,

    The developers have provided us with the information that this issue is not just specific to Spread. This issue can be replicated with the native controls of WinForms as well.

    The default font (Calibri) doesn’t support those 2 characters (you can see supported characters here: https://www.fileformat.info/info/unicode/font/calibri/list.htm When we paint those character, system will detect and use fallback font. Spread doesn’t support customizing this fallback process like Excel. That’s why we paint those 2 characters as same as native controls of WinForms show. You can try to show it in Microsoft WinForms RichTextBox or TextBox control for more details.

    Therefore, this is a limitation for now.

    We apologize for any inconvenience this may have caused.

    Thanks & Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels