FastReport3.5 RichEdit report preview freezes when text uses a Chinese font - delphi-7

I use FastReport3.5 in my Delphi7 program to show reports.
Sometime when I preview my report the program freezes.
When I change the RichEdit font, I can preview the report normally.
I thought the RichEdit component didn't support Chinese very well, but when I changed the font to Tahoma, the problem happened again.
This problem appeared two more times. All I could do was change the RichEdit font, but I do not think changing the font is the best method to resolve the problem.

Try to use latest FR 5.6.2
If problem still exists - create small demo project with problem and send it to support#fast-report.com

Related

SSMS 17.5 Not showing ellipse when cell data is larger than available display area

I noticed an issue with Sql Server Management Studio 17.5 (maybe other versions too) where the ellipse (indicates a cell has more data than what it shown) is missing. It is problematic when dealing with ID columns since there is no indication that there is more data than what is being displayed.
Here's some screen shots
Problematic Data
Actual Data
Ideally, the first screen shot would show an ellipse after the first digit, but instead it shows as if the cell is displaying its complete contents. Has anyone else found this to be an issue, and did you find any work arounds? There was nothing available in the Tools->Options menu.
Edit:
I found the same behavior in Windows 10 Windows Explorer. Would this type of thing be a registry setting? Maybe it's being shared between Windows and SSMS
It turns out this was a bug in Windows build 1803
https://answers.microsoft.com/en-us/windows/forum/all/filename-truncate-bug/d447a633-7f1d-4d90-a282-0e2ccbab8d04
With a newer version it has been fixed.
I've confirmed it in both SSMS and Windows Explorer, and I cannot reproduce the above examples.

visual studio designer dpi setting

I've learn how to manage different DPI settings the hard way, so that at runtime my applications are properly displayed.
But there is still a big issue with Design time Visual Studio.
Say I build an application at 96 dpi and I switch my display to 120 dpi for testing purposes.
Now IF I open a form designer at 120 dpi, the form is resized according to 125%, the controls moved aso! :-(((
So I try to avoid reopening forms, but that's NOT a nice solution, isn't it?
Is there by any chance a design time setting to prevent form to resize?
Not a solution but possibly a workaround: do not test on your computer but on a VM or other computer and do not open the solution on a computer with big fonts.
And we found that we cannot use the AutoScaleMode = Dpi.Font setting. That will randomly resize forms when we open them in the designer. Dpi or None seem to work.
Although this question is already old, I want to share my workaround.
Keep the Form’s AutoScaleMode = Font. This works fine, if you control the rest correctly.
Set in your Forms Designer: Font = MS Sans; 11px. Basically, specify your Fonts in Pixel, instead of Points. So Visual Studio won't re-scale anything if the system's DPI change.
In the Forms Ctor, after InitializeComponent, re-set: Font = SystemFonts.DefaultFont. Now, at run time, Fonts will use Point-based sizes again, and you get nice high-DPI GUI.
Enable DPI-Awareness, either through a manifest or by API function SetProcessDPIAwareness
You can find the details of my (hard) learning trail on my Blog: http://www.sgrottel.de/?p=1581&lang=en

MonoDevelop not support display Thai font

I'm now learning iPhone development with Monotouch and use Mono Develop for IDE. Everything works fine and I'm going to buy a license for MonoTouch. However, the IDE can not display Thai text correctly.
It just display [] that is difficult for me to type message in Thai. Although this text display correct in runtime (iPhone Simulator).
I think this problem occurs in MonoDevelop.
Please could you help me to solve this problem.
PS. I tried everything that I can do. For example, change file format to UTF 8 , 16 and copy text from other programs that display Thai text correctly.
I'm looking forward to hearing from you
Theeranit
Unfortunately, the library that MonoDevelop uses for font rendering on Mac, called Pango, has problems with font fallbacks. That means that if the primary font doen't contain the character you want, it can't fall back to another font for that character.
You can work around this by setting a custom font in MonoDevelop preferences. Set it to a font that contains Thai characters.

How to disable ClearType in Visual Studio 2010? [duplicate]

I just got VS 2010 beta 1, but the text in the text editor is thin, ie not anti aliased, smoothed or cleartyped. It's hard to read. Is there a setting to adjust it, similar to the one in the OS.
This is a known issue with the beta. See the readme. Section 2.4.2.2 "Text may appear slighly blurry".
They are working on a fix and recommend you stick with Consolas font for English, for now.
This will be fixed in Beta 2 once WPF integrates with the DirectWrite code in the latest versions of DirectX.
To workaround this, we decided to override the OS Setting and always for ClearType smoothing to be on when Consolas is the editor font. This way the user who isn't particular about fonts gets the best behaviour and if the user wants to have a non-clear type experience the will also need to switch their font which they would have to do anyways.
ClearType cannot be disabled in source code windows
Let me know if changing the font from Consolas works for you.
The Microsoft H4X0RS decided to force users to adopt ClearType when using Consolas font (scroll down until you see the heading Consolas always uses ClearType)
The way to fix this is to install the Text Sharp extension (yes, you read right, you need to install an extension to turn off BlurType -- ie to have your system-wide setting of no anti-aliasing applied)
How the people who did this got away with it I'll never know.
There is an extension that can help with this:
http://www.svprogramming.net/text-sharp/index.html
You have to both turn it off in the display options and the performance options:
Visual Studio 2010 Text Clarity: ClearType Options

Possible to adjust ClearType on Visual Studio 2010?

I just got VS 2010 beta 1, but the text in the text editor is thin, ie not anti aliased, smoothed or cleartyped. It's hard to read. Is there a setting to adjust it, similar to the one in the OS.
This is a known issue with the beta. See the readme. Section 2.4.2.2 "Text may appear slighly blurry".
They are working on a fix and recommend you stick with Consolas font for English, for now.
This will be fixed in Beta 2 once WPF integrates with the DirectWrite code in the latest versions of DirectX.
To workaround this, we decided to override the OS Setting and always for ClearType smoothing to be on when Consolas is the editor font. This way the user who isn't particular about fonts gets the best behaviour and if the user wants to have a non-clear type experience the will also need to switch their font which they would have to do anyways.
ClearType cannot be disabled in source code windows
Let me know if changing the font from Consolas works for you.
The Microsoft H4X0RS decided to force users to adopt ClearType when using Consolas font (scroll down until you see the heading Consolas always uses ClearType)
The way to fix this is to install the Text Sharp extension (yes, you read right, you need to install an extension to turn off BlurType -- ie to have your system-wide setting of no anti-aliasing applied)
How the people who did this got away with it I'll never know.
There is an extension that can help with this:
http://www.svprogramming.net/text-sharp/index.html
You have to both turn it off in the display options and the performance options:
Visual Studio 2010 Text Clarity: ClearType Options

Resources