Heights being displayed differently in iReport on different operating systems - ireport

If I create a Jasper report in iReport on Linux and open the same report in iReport on OS X the text within an element will not be displayed unless I increase the height of the encasing element. The same goes going from OS X to Windows.
iReport versions and Java versions are the same.
Does anyone know why this is happening?

It's because of different font metrics on different systems. If you use font extensions to specify the precise font that will be used, then this problem should go away.
Try using the DejaVu fonts which ship with iReport and JasperReports for your text element to confirm.

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.

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

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

Why does a Lazarus form look 'incorrectly different' on Windows

I create my programs on Ubuntu 12.04 and compile them on Windows (when necessary).
Recently I noticed that my Lazarus projects look different on Ubuntu and Windows. The problem is on Windows XP, 7 and 8. I'm not sure if Vista looks the same.
For example, group boxes containing radio buttons look shrunk in height, thus hiding parts of the components.
Now I have to edit this forms on Windows before compiling for those platforms. What's worse is that when I bring these project back to Ubuntu, the forms looks unnecessarily stretched out (in height).
Is there a solution to this?
Thanks!
It is easily to check if the controls themselves have the same height(just query their left and top properties and dump it in a memo or log for verification)
If that is ok, it is probably the font. Default fonts are subject to themes, and sometimes readability/disability settings.
Consistent cross-platform look is not a trivial task and does not come at no-cost.
Read http://wiki.freepascal.org/Autosize_/_Layout, especially the part that can scale controls on your form depending on the font size that the end user has configured in the Control Panels
Read few chapters from Google: "windows dpi aware applications"

WhatsApp font for emoticons (unicode, windows)

does anybody know how to render these emoticons in Windows given the unicode charcode?
It looks like this icons or font are native to apple (as sayed here) but I don't know which one I can choose to render these glyphs in Windows
Thanks
If whatever you're using to display your text is working correctly and the user has a suitable font installed, then you don't need to do anything. Font substitution will take care of that and choose a font that contains glyphs for those characters.
Windows since 8.1 ships with Segoe UI Emoji, however, if you absolutely need a font to specify explicitly.

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.

Resources