Incorrect fonts in PropList

Posted by: squash on 4 August 2017, 2:43 pm EST

  • Posted 4 August 2017, 2:43 pm EST

    Hi Peter,
    after upgrading controls with new realase "ar2ProEval2.0.0.1253.exe" there are problems with displaying fonts in my national language. For Proplist I have set Ms Sans Serif font 8 pts with Central Europe script and when I put some national charts there are "bushes" displayed. The worst thing is that I can't fill correctly content labels and fileds in the neighbouring edited report because there are also bushes displayed. The curious thing is that when I fill fields in my code during report processing, fonts in the report are displayed correctly.  Earlier version runs correctly. What happened? Maybe that's my fault in some place?

    regards,
    Squash
  • Replied 4 August 2017, 2:43 pm EST

    Do you have an example of this or can you provide me with steps I can perform to reproduce this behavior?  Also, is the font you're using TrueType or OpenType?
  • Replied 4 August 2017, 2:43 pm EST

    Hi,
    I checked that this behaviour appears both in my program and examples for proffesional edition: "diamondReports.vbp", "DesignerFieldsList.vbp". It's no matter what font I use TrueType or OpenType (of course for PropList). Run diamondReports.vbp and just place a Label on new report and in PropList fill Caption for this Label with some characters in Central Europe script "l,ó,s,z". Right after editing "bushes" apears in Caption and in contents of Label object.

    regards,
    Squash
  • Replied 4 August 2017, 2:43 pm EST

    It looks like that was build 1214.

    I tried copying and pasting that text into the designer in 1214 and I was not able to produce any different results than my previous post.  I even installed the Polish language on my machine, changed my browser language to Polish, copied the text, changed the designer language to Polish and pasted the text.

    How were you able to view this text in 1214?
  • Replied 4 August 2017, 2:43 pm EST

    Yes, proper working PropList.OCX was from 1214 build. I checked again... I replaced it manualy from 1252 to 1214 and the characters are displayed correctly. It looks that newer version of PropList  doesn't allow use Central Europe Script for fonts even if it shows that the Script is currently using. I attach two screeshots: first with 1214 build, second 1252. To obtain the characters I press on my keyboard Right Alt + a...  c.... l . I use PropertyListbox.vbp from Proffesional Samples, and in PropList the font is Arial 10 Central Europe Script.

    regards,
    squash


  • Replied 4 August 2017, 2:43 pm EST

    I just tried exactly what you describe in build 1279 and it appeared to work perfectly.  I have attached the sample (with your modifications) I used to test this issue.

    2005/09/Property List.zip
  • Replied 4 August 2017, 2:43 pm EST

    Hello Peter,
    my company just purchased a licence. I upgraded old files and now everything goes fine with the fonts. But for certain there's something bad in the eval version I mentioned in previous posts. I checked it on different machines.

    regards,
    Squash

  • Replied 4 August 2017, 2:43 pm EST

    You indicated in your responses that you were testing this with build 1252.  That build is over a year old.  Build 1279 is much more recent and has apparantly fixed this issue.  There is no difference between the functionality of licensed and unlicensed copies of the same build, aside from the eval banner.
  • Replied 4 August 2017, 2:43 pm EST

    Normally, we only support western characters at design time in AR2.  If you were able to see them in a previous build, I can look into restoring this functionality.  What was the previous build you were using so that I can test this out?

    When I tried this, I did not see the "bushes", but the characters were converted to "?,ó,s',z.".
  • Replied 4 August 2017, 2:43 pm EST

    Hello Peter,
    the previous version (7 november 2003, 15:23:34) comes from an .exe file (some eval. version). I checked this behaviour and on computers with the older version the characters appears correctly, after upgrading with ar2ProEval2.0.0.1253.exe (16 september 2004, 15:45:44) they are inccorect. The interesting thing is that when I put Polish characters during editing they apperars correctly but after pressing Enter they change to different characters. Could you verify it? It's very important for my company because in my country many words use national characters.

    thanks in advance
    Squash
Need extra support?

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

Learn More

Forum Channels