On Mon, 13 Nov 2000, WJCarpenter wrote:
Hi,
> vlad> Of course I fighted with AbiWord.profile a lot. It also itself
> vlad> behaves very strange: I put in it <Scheme name="_custom_"
> vlad> SmartQuotesEnable="1" /> run AW (smartquotes are not activated,
> vlad> though the check in preferences dialog is there), close it, look
> vlad> at AbiWord.profile and see that this section is gone, and
> vlad> SmartQuotesEnable="1" is moved to _builtin_ scheme. I run AW
> vlad> without modifying AbiWord.profile - again - no smartquotes
> vlad> (though the check in dialog is still checked. Of course I keep
> vlad> $LANG=en. And I didn't modify remap glyph table.
>
> I think you are seeing a combination of things that end up loking
> confusing.
>
> 1. I recollect that the default for SmartQuotesEnable is to be "on"
> (ie, "1"). AbiWord preferences routines have the feature that if a
> custom value is the same as a built-in value, the custom value is not
> written back out to the preferences file. So, you probably are
> getting the right value.
I hope I do.
> 2. SmartQuotes often looks like it is not doing anything, especially
> on Unix. The reason is that the SmartQuotes algorithm can map the
> "plain quotes" character to a character that doesn't exist in the font
> you're using. Then, RemapGlyphs (a completely separate feature) maps
> the missing characters back according to RemapGlyphsTable and related
> preference variables. By default the table maps the missing smart
> quotes back to the plain quotes versions (not a coincidence).
>
> For debugging SmartQuotes stuff, I recommend changing the
> RemapGlyphsTable to characters you know you have. For example, this
> setting uses single and double angle brackets:
>
> RemapGlyphsTable="‘<’>“«”»"
>
> (The preference item value is just a list of character pairs, but they
> often need encoding because of AbiWord's import/export of the
> preferences file.)
Since I use LANG=en, no non-english fonts are loaded, so I should get the
same result as others get. But I don't see any substitution of plain quotes
with nice quotes at all.
I've attached a trace log of session in which I typed "Abccd" <CR> and
smartquotes were not engaged (though they are enabled obviously). Could
anybody see and tell whether it's OK? Also, could anyone for whom
smartquotes work attach the log of the same session with their AW where
smartquotes really work?
Thanks.
> --
> [EMAIL PROTECTED] (WJCarpenter) PGP 0x91865119
> 38 95 1B 69 C9 C6 3D 25 73 46 32 04 69 D6 ED F3
>
Best regards,
-Vlad
ABISUITE_FONT_HOME is /AbiSuite/fonts
uid=500(hvv) gid=100(users) groups=100(users)
adding font path /AbiSuite/fonts
DEBUG: Build ID:
DEBUG: Version: unnumbered
DEBUG: Build Options: LicensedTrademarks:Off Debug:On Gnome:Off Gnome-XML:Off
DEBUG: Build Target:
/usr/local/src/hvv/abi-0.7.11-orig-orig/abi-0.7.11/src/../src/Linux_2.2.5-15_i386_DBG/obj
DEBUG: Compile Date: Nov 9 2000
DEBUG: Compile Time: 19:49:49
Gdk-WARNING **: locale not supported by C library
DEBUG: EncodingManager reports the following:
NativeEncodingName is ISO-8859-1, LanguageISOName is en,
LanguageISOTerritory is US, fallbackchar is '?'
TexPrologue follows:
---8<--------------
--->8--------------
WinLanguageCode is 0x0409, WinCharsetCode is 0
cjk_locale 0, can_break_words 0, swap_utos 1, swap_stou 1
DEBUG: DEFAULT ToolbarAppearance |icon|icon|
DEBUG: DEFAULT UnixFontPath |fonts|fonts|
DEBUG: DEFAULT RemapGlyphsMasterSwitch |1|1|
DEBUG: DEFAULT RemapGlyphsNoMatterWhat |0|0|
DEBUG: DEFAULT RemapGlyphsDefault |°|°|
DEBUG: DEFAULT RemapGlyphsTable
|‘`’'“"”"|‘`’'“"”"|
DEBUG: DEFAULT SmartQuotesEnable |1|1|
DEBUG: DEFAULT UseSuffix |1|1|
DEBUG: DEFAULT CursorBlink |1|1|
DEBUG: DEFAULT AutoSpellCheck |1|1|
DEBUG: DEFAULT SpellCheckCaps |1|1|
DEBUG: DEFAULT SpellCheckNumbers |1|1|
DEBUG: DEFAULT SpellCheckInternet |1|1|
DEBUG: DEFAULT OptionsTabNumber |0|0|
DEBUG: DEFAULT RulerUnits |in|in|
DEBUG: DEFAULT RulerVisible |1|1|
DEBUG: DEFAULT StandardBarVisible |1|1|
DEBUG: DEFAULT FormatBarVisible |1|1|
DEBUG: DEFAULT ExtraBarVisible |1|1|
DEBUG: DEFAULT StatusBarVisible |1|1|
DEBUG: DEFAULT ParaVisible |0|0|
DEBUG: DEFAULT SpellCheckWordList |american.hash|american.hash|
DEBUG: DEFAULT StringSet |en-US|en-US|
DEBUG: DEFAULT KeyBindings |default|default|
DEBUG: DEFAULT KeyBindingsCycle |0|0|
DEBUG: DEFAULT InsertMode |1|1|
DEBUG: DEFAULT InsertModeToggle |1|1|
DEBUG: DEFAULT MenuLayouts |Main|Main|
DEBUG: DEFAULT MenuLabelSet |en-US|en-US|
DEBUG: DEFAULT ToolbarLabelSet |en-US|en-US|
DEBUG: DEFAULT ToolbarLayouts |FileEditOps FormatOps ExtraOps|FileEditOps FormatOps
ExtraOps|
DEBUG: DEFAULT SpellCheckDirectory |dictionary|dictionary|
DEBUG: DEFAULT StringSetDirectory |strings|strings|
DEBUG: could not open system default preferences file
[/AbiSuite/AbiWord/system.profile-en].
DEBUG: could not open system default preferences file
[/AbiSuite/AbiWord/system.profile-ISO-8859-1].
DEBUG: could not open system default preferences file
[/AbiSuite/AbiWord/system.profile-en-US].
DEBUG: could not open system default preferences file
[/AbiSuite/AbiWord/system.profile-en-US.ISO-8859-1].
DEBUG: Preferences::setCurrentScheme [_builtin_].
DEBUG: Prefs: Using LOCALE info from environment [en-US]
DEBUG: Found preferences for application [AbiWord Personal] (this is [AbiWord
Personal]).
DEBUG: Reserved scheme name [_builtin_] found in file; ignoring.
DEBUG: Found Preferences scheme [_custom_].
DEBUG: Preferences::setCurrentScheme [_custom_].
DEBUG: Clipboard: initializing
DEBUG: Clipboard: property [CLIPBOARD atom 471]
DEBUG: Clipboard: property [PRIMARY atom 1]
DEBUG: Clipboard: target [TARGETS atom 472]
DEBUG: Clipboard: target [TIMESTAMP atom 473]
DEBUG: Clipboard: target [text/rtf atom 469]
DEBUG: Clipboard: target [TEXT atom 470]
DEBUG: Clipboard: target [STRING atom 31]
Gdk-WARNING **: locale not supported by C library
DEBUG: File says 68 fonts should follow...
DEBUG: Read 68 fonts from directory [/AbiSuite/fonts/].
DEBUG: Cannot open [/AbiSuite/fonts/en/fonts.dir] to read fonts list.
DEBUG: Cannot open [/AbiSuite/fonts/ISO-8859-1/fonts.dir] to read fonts list.
DEBUG: Cannot open [/AbiSuite/fonts/en-US/fonts.dir] to read fonts list.
DEBUG: Cannot open [/AbiSuite/fonts/en-US.ISO-8859-1/fonts.dir] to read fonts list.
DEBUG: Loading SpellCheckWordList [/AbiSuite/dictionary/american.hash]
DEBUG: Setting field type desc for type 1, desc=Date and Time
DEBUG: Setting field type desc for type 2, desc=Numbers
DEBUG: Setting field type desc for type 3, desc=Piece Table
DEBUG: Setting field desc for field time, desc=Current time
DEBUG: Setting field desc for field page_number, desc=Page number
DEBUG: Setting field desc for field page_count, desc=Number of pages
DEBUG: Setting field desc for field list_label, desc=List Label
DEBUG: Setting field desc for field test, desc=Kevins Test
DEBUG: Setting field desc for field martin_test, desc=Martins Test
DEBUG: AP_UnixFrame::initializeDEBUG: EV_UnixMenu::synthesizeMenu
DEBUG: AP_UnixFrame::toggleBar 0, 1
DEBUG: AP_UnixFrame::toggleBar 1, 1
DEBUG: AP_UnixFrame::toggleBar 2, 1
DEBUG: FL_DocLayout::_toggleAutoSpell (UT_TRUE)
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: FL_DocLayout::_toggleAutoSmartQuotes(UT_TRUE)
DEBUG: Insertion Point has moved before erasing
DEBUG: fv_View::draw() called with zero drawing area.
DEBUG: fv_View::draw() called with zero drawing area.
DEBUG: fv_View::draw() called with zero drawing area.
DEBUG: GR_Graphics::remapGlyph() refreshing cached values
DEBUG: RemapGlyphsTable[0] 0x2018 -> 0x0060
DEBUG: RemapGlyphsTable[1] 0x2019 -> 0x0027
DEBUG: RemapGlyphsTable[2] 0x201c -> 0x0022
DEBUG: RemapGlyphsTable[3] 0x201d -> 0x0022
DEBUG: fl_BlockLayout::_checkMultiWord
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=|"|
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: FL_DocLayout::setPendingSmartQuote(8406b30, 0)
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=|A|
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: FL_DocLayout::considerSmartQuoteCandidateAt(8406b30, 0) |"|
DEBUG: before 6, after 11, replace 201c
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=||
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=|b|
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=|c|
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=|c|
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=|d|
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=|"|
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: FL_DocLayout::setPendingSmartQuote(8406b30, 6)
DEBUG: fl_BlockLayout::_checkMultiWord
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: FL_DocLayout::considerSmartQuoteCandidateAt(8406b30, 6) |"|
DEBUG: before 11, after 6, replace 201d
DEBUG: fl_BlockLayout::doclistener_insertSpan(), len=1, c=||
DEBUG: FL_DocLayout::setPendingSmartQuote(0, 0)
DEBUG: fl_BlockLayout::_checkMultiWord
DEBUG: Edit:InsertFmtMark [blockOffset 0]
DEBUG: Entering listUpdate