#31
Posted 08 October 2011 - 02:09 PM
#32
Posted 08 October 2011 - 02:54 PM
Thanks for looking into this. I have three books to add to this commentary. I will try to follow your directions tonight and see I can get it to work.
Peter
#33
Posted 08 October 2011 - 03:17 PM
#34
Posted 08 October 2011 - 03:20 PM
Edited by BH., 08 October 2011 - 04:03 PM.
#35
Posted 08 October 2011 - 03:41 PM
I go a couple of hours of sleep last night and so I'm not thinking straight. I'm not understanding what you did Josh to get it to work. I need step by step instruction, or really what "stuff" you added as the RTF header is not in the database which contains the font specification. What I really need, is SLEEP.
Get some sleep, man. This all can wait.
Here's exactly what I did.
1. I opened the commentary Peter made (in the zip file). I opened it with SQLIte database browser.
2) I opened the rtf with Tooltip 3 (in the zip file).
3) I viewed the RTF source with Tooltip 3, which is the easiest way to find the RTF header.
4) The RTF header I found was:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Trebuchet MS;}{\f1\fswiss\fprq2\fcharset0 Arial;}{\f2\fnil\fprq2\fcharset0 KoineTT;}{\f3\fnil\fcharset0 Hebrewz;}{\f4\fswiss\fprq2\fcharset0 Calibri;}}
5) I copied that RTF header from T3 into the database. I chose, at random, the database entry for the Book comments of the commentary. That's the field you see in the screenshot in one of my previous posts (it has red boxes).
6) I found the first instance of what is supposed to be greek characters. I changed the f0 font designation to f2, to correspond with the Kione font in the RTF header. That tells e-Sword to use the Kione font for those "greek" characters.
7) The RTF standard requires(?) a closing } at the end of all text, so I put one at the bottom of that database entry. I'm not sure if e-Sword really needs that or not.
#36
Posted 08 October 2011 - 10:32 PM
#37
Posted 08 October 2011 - 11:04 PM
When T3 makes a Topic, T3 inserts the RTF header into each database entry.
When T3 makes a commentary, T3 does not insert the RTF header. I simply inserted the RTF header manually into this commentary like T3 does automatically for Topics. Make sense? That's all this is. Just a manual insertion of the RTF header.
Without an RTF header, e-Sword will use its own "default" RTF header (as you know). That default RTF header uses only fonts like Times New Roman, Georgia, Cyberbit Titus Basic, Tahoma, etc (that header list you gave me a while back). Fonts that fall outside of default list will be rendered as one of the fonts in the default list. So a user of T3 can specify font XYZ, but e-Sword will render it as a default font because all e-Sword sees is f0, f1, f2, f3,etc.. e-Sword cannot match the f0, f1, f2, f3 font designations with what the T3 user specified without the full RTF header. The full RTF header contains the definitions of f0, f1, f2, f3, etc.
I'm not necessarily saying T3 should insert the header. You may have very good reasons for it not being there? We can just manually edit this commentary to resolve this if its best that T3 not insert the RTF header for commentaries.
#38
Posted 08 October 2011 - 11:48 PM
What I hear you suggesting, is that the standard header can be over-ridden and the user can use their own font. This is interesting, as it would make the project that pfpeller is doing render correctly with his font, but that also means that his font needs to be distributed and installed for it to appear correct in e-Sword.
I will do some experimenting here in changing the way T3 writes the database, to include the RTF code with header. If this works as I expect, I will probably make this a switchable option. hmmmm...
#39
Posted 09 October 2011 - 12:01 AM
The reason Peter wants to use this font is because the Greek text was made with that font. If he change fonts, the text becomes jibberish. So we have no choice unless we re-key each Greek character in a different font. And since none of us really know Greek, that would be time consuming.. So as you pointed out, we're left with distributing the font with the resource. Although, oddly enough, I already had the font installed on my pc.
#40
Posted 09 October 2011 - 12:04 AM
Also tagged with one or more of these keywords: T3, Tooltip
e-Sword Users Forum and Support →
e-Sword Tools & Utilities →
Problem creating a Bible module with TooltipStarted by BaptizedBeliever, 12 Nov 2011 tooltip |
|
|||
e-Sword Users Forum and Support →
e-Sword Tools & Utilities →
Module Creation Tools →
Forum dedicated to T3Started by JPG, 13 Oct 2011 t3 |
|
|||
e-Sword Users Forum and Support →
e-Sword Tools & Utilities →
Module Creation Tools →
Temp files in T3Started by JPG, 10 Oct 2011 T3, Temp files |
|
|||
e-Sword Users Forum and Support →
e-Sword Tools & Utilities →
Module Creation Tools →
e-Sword Tooltip Tool - UpdatedStarted by BH., 29 Aug 2011 utility, module, tooltip |
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
Similar Topics
My installed Bible files do not show up in my e-Sword folderStarted by Guest_Bim Kadosh_* , 04 Apr 2024 |
Tooltip Unicode Fixup wipes my fileStarted by Guest_Waarheid Ondersoeker_* , 06 Apr 2024 |
e-Sword ToolTip Tool NTStarted by Guest_BH._* , 02 Jan 2012 |
Text Editor: text-format cloning ("paint brush" tool), or Paragraph StylesStarted by Guest_wb_from_ON_* , 10 Feb 2024 |
bblx filesStarted by Guest_sparkydan1941_* , 03 Apr 2018 |
Frequently Asked Questions
Latest Blogs
- 10 justifications for Bible reading
by SarahSherrill, Jun 27 2022 02:53 AM
According to the experts from Astros DigitalHere are ten reaso... - How can I fix the Cash App if it isn't Working?
by cashcardhelps, Jun 07 2022 01:12 AM
First, you must keep the app up to date with the most recent v... - How can an app benefit your pharmacy in growing business earnings
by Alteza, Jun 06 2022 03:14 AM
Apps comprise a large portion of the tech-driven society that... - What Is a Satire Essay Anyway?
by Caleb9, Jun 04 2022 08:22 AM
What Is a Satire Essay Anyway?A large number of professional w... - 25% OFF on Mauli Thread Rakhi Online for Brother
by giftsvalla, Jun 03 2022 02:02 AM
Mauli Rakhi are generally red. The red colour symbolizes stren...