While trying to import an exported mail in DXl format we are getting following error:
Cannot set font style to Notes standard name but non-default pitch or family
The DXL file has a font spec:
<font size=‘8pt’ name=‘Helv’ truetype=‘false’ familyid='80’color=‘navy’/>
If we remove familyid=80 above it works OK.
Any help in resolving this issue will be appreciated.
Thanks
Nagesh
Subject: DXLImport error
Sans-serif “book” fonts (Arial, Helvetica, Verdana, Helv, etc.) should map to familyid=“20”, if I recall correctly.
Subject: RE: DXLImport error
I tried all family id’s 10,20,30,40 and 50. No luck with the import.
I am not sure how the familyid became 80 during the DXLExport. Is there a way to supress the family id?
Thanks for the suggestions
Nagesh
Subject: RE: DXLImport error
You can kill the attribute completely using the DOM:
Dim fontElemList As NotesDOMNodeList
Set fontElemList = rootDoc.GetElementsByTagName(“font”)
Dim fontNode As NotesDOMElementNode
Dim count As Long
count = fontElementList.NumberOfEntries
For count = 0 To count
Set fontNode = fontElementList.GetItem(count)
If Not fontNode.IsNull
Call fontNode.RemoveAttribute(“familyid”)
End If
Next
Subject: RE: DXLImport error
This will help. We will supress this while exporting the mail to DXL.
We will try this.
Thanks
Nagesh