Problem with Text Labels cutting off parts of words at end of lines
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Problem with Text Labels cutting off parts of words at end of lines Expand / Collapse
Author
Message
Post #22410 Posted 8/18/2008 6:00:01 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 10/8/2008 5:23:16 PM
GenoPro Version: 2.0.0.3
Posts: 2, Visits: 5
I'm having a problem with parts of words at the end of lines being trimmed off in Text Labels. Specifically, I need to print a tree, which has LARGE font in the Text-Labels, at about a 92% print size, but words on the non-aligned side (or both sides if text centered) are trimmed, even at 100% print size.  Changing the Text-padding or label-width has no effect. It happens in any tree. And it only happens on the non-aligned side.  I've had this problem before in certain font-sizes at certain print sizes.  For example, when needing to print a tree (which uses MEDIUM sized text in the Text-Labels) at about 73% to fit a page, I experience this trimming at 72%, 73% 75% 76%. But there is no problem with 71%, 74% 77% etc.   This is not much of a problem when using only one font size (I just use one of the good print sizes).  But its a big problem when I introduce Text Labels with different font sizes, and particularly the LARGE font  Any shared experience? Any fix?  (Note that my Text labels sometimes contain a full page of text) 
Post #22411 Posted 8/18/2008 6:14:08 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
This is a known problem with no easy fix.  Even the most popular software such as Excel have similar problem.

This problem is caused by the zoom.  Depending on the zoom, the text is of different length.  GenoPro uses the Windows routines to compute the length of the text, and in the ideal world (which does not exists), the length should be the same regardless of the zoom.

Well, Windows returns a different text length depending on the zoom.  It is called pixel quantization, when the width of a character is a fraction of a pixel.  GenoPro uses the lenght returned by Windows to compute how many lines the text should be displayed, however the length returned by Windows varries with the zoom.

One solution (I am not 100% sure it will work) is to have two display context, one at the desired zoom and another at a 100% zoom, and when the text length needs to be computed, the 100% zoom is asked to get consistent results, and then drawn on the other display context.  The problem is the current architecture was not designed to handle dual DCs, and significant work and testing must be done.

Post #22412 Posted 8/19/2008 7:55:05 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 10/8/2008 5:23:16 PM
GenoPro Version: 2.0.0.3
Posts: 2, Visits: 5
Many thanks. Very disheartening, but at least I can now stop wasting time trying to solve it within Genopro, and just work around it.
Post #22413 Posted 8/19/2008 11:06:35 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151, Visits: 5,401
You can tweak the GenoMap graphics before printing using Inkscape on the SVG diagram produced via the Narrative Report. So maybe this is a work-around. You will need to delete the extraneous objects, green arrows, pink circle and GenoPro link, in the top right before printing. Unfortunately Inkscape does not as yet support multi-page printing/print tiling, but some printer drivers have this feature builtin. It does have a 'fit drawing to page' option however, allowing scaling. You can of course use Inkscape to add other graphic elements not available in GenoPro.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 8:34 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.