Page 1 of 2
Census Conversion
Posted: 11 Nov 2022 17:11
by ColinMc
Wonder if anyone can tell me if this is a font issue in FH or am I doing something wrong in AS.
Here is a Text from source sample showing the text in AS after editing

- AS3.jpg (89.46 KiB) Viewed 1359 times
Back in FH however, the columns still have wrapping.

- AS4.jpg (64.08 KiB) Viewed 1359 times
Re: Census Conversion
Posted: 11 Nov 2022 17:29
by NickWalker
Assuming you're not setting a font in the RTF text then in AS go to Tools->Options->General Settings - source text and see what the default font and default size are set to. If you have 'Use FH default font and size' ticked then they should match the FH values for these. To check, in FH go to Tools->Preferences->Notes and see the Default Font setting in there. For me both are set to Tahoma 10pt.
When I compare how a census table looks in both, they match.
Note that if you do have the 'Use FH default font and size' ticked and change the size or font in FH, you will need to close and reopen AS for that change to be carried over. You'll almost certainly then need to make use of the 'column width adjustment' value in AS for the 'Fit' to work satisfactorily.
Re: Census Conversion
Posted: 11 Nov 2022 17:37
by ColinMc
Thanks for such a prompt reply.
I'll go and check.
Colin
Re: Census Conversion
Posted: 11 Nov 2022 18:06
by ColinMc
The defaults seem to be the same. I'm not sure if any of the other settings are affecting it.

- AS6.jpg (130.45 KiB) Viewed 1338 times

- AS5.jpg (175.29 KiB) Viewed 1338 times
Re: Census Conversion
Posted: 11 Nov 2022 18:53
by NickWalker
ColinMc wrote: ↑11 Nov 2022 18:06
The defaults seem to be the same. I'm not sure if any of the other settings are affecting it.
I'm puzzled by that and don't have an explanation. In FH if you use CTRL+ALT and double-click in the source text box you should get a little pop-up window showing the Family Historian rich text encoding. Please can you paste that into a reply to this?
Re: Census Conversion
Posted: 11 Nov 2022 19:16
by ColinMc
No probs

- AS7.jpg (91.06 KiB) Viewed 1318 times
Re: Census Conversion
Posted: 11 Nov 2022 19:22
by ColeValleyGirl
Colin as per
https://fhug.org.uk/forum/viewtopic.php ... 94#p127234 you need to CTL_ALT-double click
before you open the rich text box.
Re: Census Conversion
Posted: 11 Nov 2022 19:36
by johnmorrisoniom
I have been getting the same effect The FH Encoding for mine is
<clr="00007F"><b><fs="+1">Census Isle of Man 1851</clr></b></fs>
<clr="00007F">Address:</clr> Ballagrane Cottage
<clr="00007F">Place:</clr> Marown, Isle of Man
<table="2257|1049|1049|515|535|2138|2138|950">
<row> <clr="00007F">Name
| Relation
| Condition
| Sex
| Age
| Occupation
| Where Born
| Infirmity
</clr> </row>
<row> <rec=1,"Edw Kaneen",text> | Head | Mar | M | 27 | Agricultural Labourer | Braddan, Isle of Man | </row>
<row> <rec=2,"Ann Kaneen",text> | Wife | Mar | F | 24 | Domestic Duties | Marown, Isle of Man | </row>
<row> <rec=3,"Margt Eleanor Kaneen",text> | Daughter | Unm | F | 4 | Marown, Isle of Man | | </row>
<row> <rec=4,"Ann Kaneen",text> | Daughter | Unm | F | 2 | Marown, Isle of Man | | </row>
</table>
Transcribed by John Morrison on 11/11/2022 using Ancestral Sources version 7.6.0 by Nick Walker
Re: Census Conversion
Posted: 11 Nov 2022 20:00
by NickWalker
That looks correct to me. If you open up the note editor in AS and click the text cursor into various places in the text does the Font Size show 10 in all places except in the main title at the top which should show 11?
If you do the same thing in FH does it match what you see in AS?
Re: Census Conversion
Posted: 11 Nov 2022 20:15
by NickWalker
ColinMc wrote: ↑11 Nov 2022 19:16
No probs
AS7.jpg
The default font size in your screenshot appears to be 10.5 rather than 10 which would explain why the text is too wide in the columns. In your preferences screenshot you had it set to 10 so that's a bit odd isn't it?!
Re: Census Conversion
Posted: 11 Nov 2022 23:06
by BillH
Nick,
In FH in Tools > Preferences > Notes, I have the default font set to Tahoma, 10 pt.
When I open the Text from Source for one of my converted censuses, it says Automatic, 11.
But, if I click anywhere in the table, it changes to Automatic, 10 (default). The table does seem to be in Tahoma, 10. Only the heading is in Tahoma, 11 so maybe that is where the Automatic, 11 comes from since it is the first line in the Text form Source.
Bill
Re: Census Conversion
Posted: 12 Nov 2022 09:43
by ColinMc
ColeValleyGirl wrote: ↑11 Nov 2022 19:22
you need to CTL_ALT-double click
before you open the rich text box.
Thanks, I wasn't aware that was what was meant. I didn't even see this post last night, but I saw Nick's reply about the 10.5 font, so I changed the font in my example.
I'll create a different conversion now to see the correct info.
I did try creating a new Generic Source, and the text editor opened up on an empty screen showing 10.5 (default) as the font even though Preferences is set to 10.
Tried to see if the Gear Options on that screen gave me any different settings choices, but it does not, so I still have 10pt in Preferences, but the editor is showing 10.5.
Seems like it is worth asking CP for their thoughts now.

- AS10.jpg (218.74 KiB) Viewed 1208 times
Re: Census Conversion
Posted: 12 Nov 2022 10:30
by NickWalker
BillH wrote: ↑11 Nov 2022 23:06
In FH in
Tools > Preferences > Notes, I have the default font set to
Tahoma, 10 pt.
When I open the Text from Source for one of my converted censuses, it says
Automatic, 11.
But, if I click anywhere in the table, it changes to
Automatic, 10 (default). The table does seem to be in
Tahoma, 10. Only the heading is in
Tahoma, 11 so maybe that is where the
Automatic, 11 comes from since it is the first line in the Text form Source.
This all looks correct so presumably you find that AS and FH source text match? The source text created by AS doesn't specify a font size (which matches how FH does this things) so it just displays in the default font and size, except the heading which is 'default font size + 1'.
Re: Census Conversion
Posted: 12 Nov 2022 10:32
by NickWalker
ColinMc wrote: ↑12 Nov 2022 09:43
Seems like it is worth asking CP for their thoughts now.
Yes I think that's next step Colin. Thanks. It will be interesting to see if that's what John is seeing too.
Re: Census Conversion
Posted: 12 Nov 2022 11:03
by johnmorrisoniom
Just done a new conversion

- Screenshot 2022-11-12 105705.jpg (46.72 KiB) Viewed 1195 times
Census England 1881 ( Automatic 13 Bold)
Address, Place and Table text (Automatic 12 Default)
Encoding for same entry
<clr="00007F"><b><fs="+1">Census England 1881</clr></b></fs>
<clr="00007F">Address:</clr> 51, Burley Street
<clr="00007F">Place:</clr> Leeds, Yorkshire, England
<table="1643|931|1049|515|535|1228|2099|950">
<row> <clr="00007F">Name
| Relation
| Condition
| Sex
| Age
| Occupation
| Where Born
| Infirmity
</clr> </row>
<row> <rec=1,"Edward Kaneen",text> | Lodger | Unm | M | 21 | Tailor | Douglas, Isle of Man | </row>
</table>
Transcribed by John Morrison on 12/11/2022 using Ancestral Sources version 7.6.0 by Nick Walker
Re: Census Conversion
Posted: 12 Nov 2022 12:35
by NickWalker
Hi John
The text you've posted looks fine. I'm not sure what you're saying your problem is? Are the font and font sizes the same in AS options and FH preferences? Does it look correct in AS and then different when you view it in FH? If you look at the entry in FH and put the cursor into various places in the text does it show the same values for the font and font size and the default as it does when you do the same in AS?
Colin's problem seems to be that FH is displaying the source text with a default font size of 10.5 even though he has 10 set in the preferences. So the default size in AS is 10 but FH is showing it in font size 10.5 for some reason.
Nick
Re: Census Conversion
Posted: 12 Nov 2022 14:36
by johnmorrisoniom
Sorry Nick, I though the original problem is that the table looks all nice and neat in AS, but when you open the source text in FH the columns are all word wrapping. That is what I am getting.
Re: Census Conversion
Posted: 12 Nov 2022 14:44
by NickWalker
Yes that's the problem that Colin is getting too. Are you able to have a look at the source text in FH and AS using the note editor and see which font size it is indicating as default in both places. The best thing to do would be to put the cursor into the text in the table and see what it shows at the top. For me I see the same in AS and in FH (screenshot below), whereas Colin is seeing 10.5 as the default font size in FH which is why it isn't lining up for him.
Ancestral Sources:

- AS Font.png (25.82 KiB) Viewed 1141 times
Family Historian:

- FH Font.png (16.4 KiB) Viewed 1141 times
Re: Census Conversion
Posted: 12 Nov 2022 16:19
by johnmorrisoniom
Hi Nick,
I think I have solved my problem.
I was getting font sizes of 11 and 10 in AS, and 13 and 12 in FH.
My eyesight isn't as good as it used to be, so I have increased the screen scaling up to 125% on one of my computers.
FH then look too big. I had set FH font scaling to 120%. Reset back to defaults and tables look correct again. I will also have to check my other FH installations to make sure they are on the defaults ((I have two licenses for three installations)
Re: Census Conversion
Posted: 12 Nov 2022 16:44
by BillH
NickWalker wrote: ↑12 Nov 2022 10:30
This all looks correct so presumably you find that AS and FH source text match? The source text created by AS doesn't specify a font size (which matches how FH does this things) so it just displays in the default font and size, except the heading which is 'default font size + 1'.
Yes, everything looks good here and FH and AS do match. I just thought maybe that was why Colin was showing 10.5 when he had the default of 10 since I was showing 11 when my default is 10.
In his screen shot I thought the 10.5 was showing in FH, not AS.
Bill
Re: Census Conversion
Posted: 12 Nov 2022 17:40
by NickWalker
BillH wrote: ↑12 Nov 2022 16:44
NickWalker wrote: ↑12 Nov 2022 10:30
This all looks correct so presumably you find that AS and FH source text match? The source text created by AS doesn't specify a font size (which matches how FH does this things) so it just displays in the default font and size, except the heading which is 'default font size + 1'.
Yes, everything looks good here and FH and AS do match. I just thought maybe that was why Colin was showing 10.5 when he had the default of 10 since I was showing 11 when my default is 10.
In his screen shot I thought the 10.5 was showing in FH, not AS.
Bill
Yes that's right the 10.5 is showing in FH, even though he has 10 as the default size in FH and AS. It's not clear why FH is showing the wrong font size.
Re: Census Conversion
Posted: 12 Nov 2022 20:58
by tatewise
johnmorrisoniom has explained the discrepancy between the Tools > Preferences > Notes > Default Font and the Rich Text window default. It is caused by the Tools > Preferences > Display > Screen Font Scaling.
For example, assuming the Tools > Preferences > Notes > Default Font = Tahoma, 10 pt:
Scaling = 105% then Rich Text default = 10.5 pt
Scaling = 110% then Rich Text default = 11 pt
Scaling = 120% then Rich Text default = 12 pt
and so on...
Changing the Scaling does not change the Preferences Font setting, only the size of the fonts in the displayed windows.
The Rich Text table has fixed pixel column widths, so as it moves from PC to PC with different scalings, or the Scaling is greater than 100%, then the larger fonts no longer fit.
Re: Census Conversion
Posted: 12 Nov 2022 21:22
by NickWalker
Ah OK, well spotted. This seems a bit of an odd way to apply scaling doesn't it? If I change scaling on my PC it doesn't suddenly change the size of my fonts in Word documents - they are still size 11 (or whatever), they just look bigger on the screen.
Re: Census Conversion
Posted: 12 Nov 2022 21:43
by tatewise
I get the impression that FH does not scale displays by changing the scaling of the window but by adjusting the font sizes.
That explains why toolbars don't get scaled. Also, most image thumbnails are not scaled (except in Focus Window).
Similar issues arise in the Records Window where the column widths don't change, so large fonts display fewer characters.
BTW: The display of Reports are not scaled, only the side panel text labels.
Re: Census Conversion
Posted: 12 Nov 2022 21:44
by NickWalker
If reports don't get scaled then it would make sense for the rich-text not to get scaled either.