Incorrect detection of font name in star writer
I have found that StarSuite7 (patch level 5) does not detect
Japanese font names under cirtain circumstances and
this resulted in incorrect display of characters : Worse, in my case,
the incorrectly recognized font name resulted in invisible character
and I failed to notice an important mark.
I am attaching the document that shows the problem.
What happens is this.
The first line contains a Japanse sentence that is followed
by a "bold right arrow mark" in WingDing font.
The Japanese sentence part is recognized to have the
font name "MS Gothic" (actually in Japanese character name.).
This part is correctly recognized by StarSuite7 (patch5) both under
linux and w2k platform.
Unfortunately, the wingding font name is incorrectly recognized
as "MS mincho" (again actually in Japanese character name), and
thus this right arrow is incorrectly rendered.
I am attaching a file that shows this problem.
This may be very L18N-related, but I hope someone can take a lookt at this problem.
I have found that StarSuite7 (patch level 5) does not detect
Japanese font names under cirtain circumstances and
this resulted in incorrect display of characters : Worse, in my case,
the incorrectly recognized font name resulted in invisible character
and I failed to notice an important mark.
I am attaching the document that shows the problem.
What happens is this.
The first line contains a Japanse sentence that is followed
by a "bold right arrow mark" in WingDing font.
The Japanese sentence part is recognized to have the
font name "MS Gothic" (actually in Japanese character name.).
This part is correctly recognized by StarSuite7 (patch5) both under
linux and w2k platform.
Unfortunately, the wingding font name is incorrectly recognized
as "MS mincho" (again actually in Japanese character name), and
thus this right arrow is incorrectly rendered.
I am attaching a file that shows this problem.
This may be very L18N-related, but I hope someone can take a lookt at this problem.
Similar Messages
-
StarOffice 8 - finding all different font types in a Writer file
Hello,
I am currently using StarOffice 8 on a Windows XP system.
I frequently transfer a large Writer (.odt) file between different computer systems as I constantly update the file with new information. As part of the updates, I use different fonts. As I install a particular font on one machine, this font may not be installed on another machine when I add new information to the file on that particular machine.
When I open the Writer file on a machine that has some font not installed, the WYSIWYG appears incorrectly (since the proper font is not installed on that computer, of course) but if you highlight the incorrectly-displayed info, it says what the font type should be (ie, "WP Hebrew David" font). I then go online to download that specific font type for this the computer. Then the data is displayed correctly.
When you have many, many different font types used in a file, it is hard to keep track of all different fonts used. Before anyone questions me on using so many different fonts in a file, it is important for my file to visually display the correct data, and this means using a quantity of fonts.
What I am wondering is the following:
Is there a way from within StarOffice 8 to scan a particular file and then let the user know every different font name used in that file?
That way, if the file contains a font which was used on another machine but not currently installed on the current machine -- when I am updating information in the file -- I can then see a list of fonts used and then install new fonts accordingly after checking to see if they are installed (by checking the Fonts folder in C:/Windows)
I hope this makes sense, or is it "clear as mud"?
Please excuse my bad English grammar as I am not a native English speaker, but have picked it up living in Canada for the last 20 years :-)
Cheers & thanks in advance for any help !
David
Edited by: Broad_Arrow on May 18, 2009 11:18 PMMay 20 2009
There is a Fonts Used macro writer_printAllFonts.sxw Further checking this is the wrong StarBasic macro. The one I use came from an OOo forum I think. I use it with SO7, SO8 and SO9.
It is at the end of this message. To install it:
[1] Copy the macro below to the clipboard
[2] Go to Tools>Macros>Organize Macros>Basic>Standard
Select New. Highlight what is there, paste, and close.
[3] Go to Tools>Customize>Menus>Tools
Highlight Word Count, then go to Add>Macros>My Macros>Standard>Module1
Highlight FontsUsed, Click Add, Close, Ok
Phil
REM ***** BASIC *****
Sub Main
End Sub
Sub FontsUsed 'Version 1 John Vigor 4/25/06
'List fonts used in Writer document. Appears to work in normal text,
'Sections, normal Tables, and Frames. Will currently crash on a Table
'within a Table.
oDoc = ThisComponent
Dim fonts as Integer: Dim aFonts(1)
oTC = oDoc.Text.createTextCursor
oTC.goRight(1,true) : CurrentFont = oTC.charFontName
fonts = fonts + 1 : aFonts(fonts) = CurrentFont
REM Do "normal" text.
partEnum = oDoc.Text.createEnumeration
PartEnumerator(partEnum,CurrentFont,fonts,aFonts())
REM Do Frames.
oFrames = oDoc.getTextFrames
If oFrames.Count > 0 then
fonts = fonts + 1 : ReDim Preserve aFonts(fonts)
aFonts(fonts) = "NEW FONTS, IF ANY, FOUND IN FRAMES:"
For I = 0 to oFrames.Count - 1
thisFrame = oFrames.getByIndex(I)
partEnum = thisFrame.createEnumeration
PartEnumerator(partEnum,CurrentFont,fonts,aFonts())
Next
EndIf
REM Prepare list.
For I = 1 to fonts
s = s & aFonts(I) & Chr(10)
Next
iAns = MsgBox(s,4,"FONTS FOUND. Create font list document?")
If iAns = 7 then
End
Else
NewDoc = StarDesktop.loadComponentFromURL("private:factory/swriter"," blank",O,Array())
oVC = NewDoc.CurrentController.getViewCursor
oVC.String = s : oVC.collapseToEnd
EndIf
End Sub
Sub PartEnumerator(partEnum,CurrentFont,fonts,aFonts())
While partEnum.hasMoreElements
thisElement = partEnum.nextElement
If thisElement.supportsService("com.sun.star.text.Paragraph") then
portionEnum = thisElement.createEnumeration
PortionEnumerator(portionEnum,CurrentFont,fonts,aFonts())
ElseIf thisElement. supportsService ("com.sun.star.text.TextTab le") then
Cols = thisElement.getColumns.Count - 1
Rows = thisElement.getRows.Count - 1
For C = 0 to Cols
For R = 0 to Rows
thisCell = thisElement.getCellByPosition(C,R)
cellEnum = thisCell.createEnumeration
While cellEnum.hasMoreElements
thisPara = cellEnum.nextElement
portionEnum = thisPara.createEnumeration
PortionEnumerator(portionEnum,CurrentFont,fonts,aFonts())
Wend
Next
Next
EndIf
Wend
End Sub
Sub PortionEnumerator(portionEnum,CurrentFont,fonts,aFonts())
Dim found as Boolean
While portionEnum.hasMoreElements
thisPortion = portionEnum.nextElement
thisFont = thisPortion.charFontName
If thisFont <> CurrentFont then
For I = 1 to fonts
If aFonts(I) = thisFont then found = true: Exit For
Next
If found then
CurrentFont = thisFont : found = false Else
fonts = fonts + 1 : ReDim Preserve aFonts(fonts)
aFonts(fonts) = thisFont : CurrentFont = thisFont
EndIF
EndIf
Wend
End Sub -
Hi,
Requirement
We are using Adobe acrobat x pro 10.1.1 licenced version,from our application,we have to fill data dynamically in to the text boxes.
We had set the text box font as "VectoraLTStd-Roman",we need to display the text with font name as “VectoraLTStd-Roman” (We need to display the same fonts which has been set in the template)
Issue
Please find the below mentioned issue
Sl No
Data/Text in both pdf
Type of text
Font to be displayed as
Font getting Displayed as
1
Static Text
Static Data
VectoraLTStd-Roman
VectoraLTStd-Roman
2
Bangalore
Textbox
VectoraLTStd-Roman
Myriad Pro
3
Regional
Textbox
VectoraLTStd-Roman
Myriad Pro
4
India
Textbox
VectoraLTStd-Roman
Myriad Pro
5
First Place
Textbox
VectoraLTStd-Roman
Myriad Pro
6
Default Value
Textbox
VectoraLTStd-Roman
Myriad Pro
As this is a high priority issue,please suggest me how to display the same font which has been set in the template
Note:
We had installed the “VectoraLTStd-Roman” font in application server; after exporting the pdf, in the client browser, we are getting incorrect fonts.
Please check in the system where “VectoraLTStd-Roman” font is not installed
To check the font names,please copy the text from pdf and paste it on winword/wordpad.
Regards,
S.N.PrasadI tested on a device here and see the same issue using 6.0.40.1. I would consider this a bug and open an issue with support so they can escalate and have it corrected. It appears to be device/os version specific as I don't see the issue on Android 2.3.4 but I do see it on Android 4.1.1 and Android 4.4.2.
I am also going to open an issue with Engineering on this as well.
--Bill -
How can I change font name on Mac to be compatible with PC?
Hi,
My font names on my new Macbook does not match with PC and my previous Macbook. For example, "CordiaUPC" on PC and my old Macbook is called "UPC-Cordia" on my new Macbook. So all my saved documents where font was set as "CordiaUPC" is now unreadable, and I have to reset the font to "UPC-Cordia" when I open it. The issue is, I am a writer and I have to submit my writing to people who use PC's. Then when they open my document, it appears like it cannot be read. It is super inconvenient.
Does anyone know how I can change the name of the fonts in the Font Book? I tried selecting like when I rename the files but it didn't work.
Thanks.Are you using the same font file on Your Mac as the PC users are? Meaning, that the font file was copied/installed from a PC to your Mac's /Library/Fonts or ~/Library/Fonts folder or did you install the Mac version of the font on your Mac. You can try flushing the font cache for your Mac with a utility like Cocktail or Onyx to see if that resolves the naming problem.
-
How to change background color of text in pdf based by font name
Hi
How to change the background color of text in PDF based by font name. Is there any option in Javascript. e.g: If PDF containing ARIAL font, the ARIAL text background color needs to be changed in red color for all pages. Same for all fonts with different different color in the PDF.
Thanks in AdvanceHi
1) Is there any possibilities to highlight with different color based on font using javascript
2) list of font used in PDF using javascript
3) How to hilight the text using javascript
Thanks in Advance -
Font name issue in Acrobat XI pro
Hi All
While checking the PDF font properties in Acrobat XI it only shows the font family name. Not the full name. In Acrobat X it was perfect. Kindly refer the image below marked in Red. The Actual font name is "Agenda Light Extra Condensed Italic", but the property box shows only Agenda and Italic is hi-lighted. The document font properties shows the correct name. Have any one experienced these kind of issues? Seeing the full font name is very important to me since I am in the position of QC process before print.
Your suggestions are most welcome.
Thanks in advance
arulWhat you are actually looking at is the text edit feature which is admittedly not all that robust in terms of how it provides access to fonts.
If you are trying to check the actual font usage for particular text, you should go to Output Preview and change the Preview mode from Separations to Object Inspector. Click on the text you wish to examine and this tools will show you exactly which font is being used to render the text with the full font name, point size, etc.
- Dov -
How to get the font name used in document?
Hi some one help me to get the font name which should check each text in the Illustrator CS3.
Please someone guide me..
sAIFont->FontKeyFromFont(AIFontRef FntRef,&fontKey);
Here what to set for fontref..Oviya... wrote:
Hi some one help me to get the font name which should check each text in the Illustrator CS3.
Please someone guide me..
sAIFont->FontKeyFromFont(AIFontRef FntRef,&fontKey);
Here what to set for fontref..
Are you talking about the location of the font? -
Minumum and Maximum pointsize in the active document with font name
hi
How to find the font with point size in active document and how to get the minimum point size and maximum point size used in the active document with font name
Thanks in Advance.Okay, that does look good (without testing it). Does it do its job?
I think it can be made a bit more efficiently by not running over all text frames, but rather over all stories in the document -- a small change, the rest can stay the same.
You can also try turning the gathering of used data around. It appears you are now pushing every item immediately into your array, then weed out duplicates. (For my thoughts on the latter, see below!) It might be quicker and more memory-efficient to scan your present array to see if the new item is already in there, and only push when it's not. (Bonus points for a binary tree implementation -- the fastest possible way! But a linear search on the entire array, or on a sorted array and bailing out if you go "past" the current item, may be fast enough.)
(On Weeding out duplicates; you might want to skip this, as it won't be necessary for the above:)
Your function UniteSame sorts out and removes duplicates by comparing every item to every other one; then it sorts the array. An alternative can be to
1. Sort the array
2. Create a new empty one
3. Push an item of the original onto the new one.
4. Skip items of the original list while they are the same as the bottom one of the new list.
5. Until you run out of items. -
Change font name/size in text box
I am trying to create a Pages document with text boxes and would like to use different fonts and sizes in each box. I've tried using
make text box with properties {object text:receipt_date, vertical position:7, horizontal position:2.5, height:0.5, width:3, font name:"Courier", font size:24.0}
but it doesn't work.
Any help gratefully received.I see two things; you should "make new text box" and font name and font size are properties of the text, not the text box.
The following worked for me:
set the_text to "Hello World!"
tell application "Pages"
tell front document
set new_box to make new text box with properties {object text:the_text, vertical position:2, horizontal position:1, height:3, width:4}
set properties of object text of new_box to {font name:"Courier", font size:24.0}
end tell
end tell
Edit: The "set new_box to" part isn't needed unless you want to refer to the box again in the script. -
Korean font name in CSS doesn't work
Korean true type fonts have two names, in English and Korean. For example, the default font of Windows 7 Korean version is '맑은 고딕' in Korean, 'Malgun Gothic' in English. In Microsoft WIndows, webpages with CSS which has Korean font name display right font, but in my Mac, Safari does not display right font. If the webpage use both Korean and English names in CSS font section, it works in both Mac and Windows.
For example,
body { font-family: 맑은 고딕; }
It works just in Windows.
body { font-family: 맑은 고딕, Malgun Gothic; }
It works in both platform.
Apple mail also has same problem. I have tested other browsers in Mac and only Mozilla Firefox display the right font.
Is this a some kind of bug?drshawn wrote:
Is this a some kind of bug?
Probably. Let Apple know via
http://www.apple.com/feedback -
How to Identify the Type of Font Names in Illustrator
How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
Thanks,
PrabudassIf there is an Illustrator SDKor Illustrator Scripting forum, try
that. ATM won't really help - it is obsolete and should not be
installed (breaks things).
Aandi Inston -
How to get the actual font name from a font file?
Hi
I have only the font Path I have to get the font name from that path. Any idea how to get the actual font name?
Thanks,I would ask you these questions:
Why do you need to do this? What are you ultimately trying to accomplish?
Are you really asking about the InDesign SDK?
Do you really need to get the "name" of a font from an arbitrary file? Or do you want information about a font installed on the system? If so, what OS?
Do you need to be able to handle any font format?
Which font "name" do you mean?
What language do you want the name in?
(1) It's not clear what you're trying to accomplish. A bit more information about your ultimate goal would be helpful.
(2) This question is not at all specific to the InDesign SDK. Are you really trying to do something in the context of an InDesign plug-in? If so, you probably want to look at IID_IFONTFAMILY and the IFontFamily::GetFamilyName function.
(3) If you are asking more generally, Windows and Mac both have system API calls to get this information, although those tend to deal with installed system fonts, not with arbitrary font files per se.
Also, you can parse the name table from a True Type or Open Type font without using any system APIs; as True Type and Open Type are well-documented standards. I would start by reading these:
The Naming Table
Font Names Table
(4) Although there are other standards, such as Type 1 (PostScript) fonts, and True Type Collection files and other formats, especially on Mac.
(5) Also, when you start down this road, you will quickly realize that your seemingly simple question is actually ambiguous, and that the answer is kind of complicated, because a font can have many names (a family name, a full font name, a style name, a PostScript name, etc.).
(6) And not only does a font have multiple names, it can have each of those names in multiple languages and encodings.
Any clarification would make this a better question. -
Font name length limitation...
Hello all,
I have a serious problem related with .PFB font files. Is there any relation between font name length; I checked and if font name length is more than 30 characters I am getting an error that "the requested file C:\....\....Pfm,C:\....\....Pfb was not a valid font file". Although I am using the same way to install all fonts.
Please help me and give me any solution. Please let me know if there any limitation with windows XP, or its a limitation of Type 1 fonts.
Thanks in advance and pardon my English.
Thanks........I believe the answer is "both" for practical purposes. Although, my recollection would have been that the limit was 31 characters, not 30.
Regards,
T -
Is it possible to change the font name and size without having to compile?
Dear All
We have one requirement that we need to change the font name and font size at run time dynamically without having to compile all the forms in 6i.
Is there any way or work around to achieve the same.Kindly suggest us.
something like using uifont.ali or forms60_defaultfont, or set_item_property
Thanks and Regards
Thangaraj.Dear All,
Thanks for your updates, Technically what both of you said is correct. but in application server we used something like ClientDPI to match the client server font with the application server, i need to know that is there anyother way something like this...?
I have read one document(Note:28397.1 in metalink) saying that using uifont.ali file we can change the font at run time, but i have used this only for report
Thanks and Regards
Thangaraj.S -
Font names are invisible in Ai CS5 after upgrading to OSX 10.10 Yosemite
Hello,
I am having a minor drawback on Adobe Illustrator CS5 after upgrading my iMac to OS X 10.10 Yosemite. The thing is when trying to select a font form a Type>Font selection mostly all font names are invisible. This only happens in Illustrator, Photoshop and Indesign works fine. I have attached a screenshot of what I am seeing: after hovering with my mouse pointer over the particular font the name appears, but otherwise not.
I will also address this issue to Apple support as well.
Waiting for your reply.
Kristijonasdonelaitis,
I believe post #15 in this thread may give the solution.
Compatibility with Yosemite — Illustrator CS5
Maybe you are looking for
-
New features I'd like to see in Prelude
Prelude is a very cool program and I can see this becoming a vital part of the workflow. I have noticed a few things that aren't perfect yet and would like to change. I will file feature requests, but I am wondering if anyone else agrees with these
-
Paragraph format and character format in script
hi expects, what is the difference between paragraph format and character format in script?
-
Cannot buy another logic pro licence as it is already installed on machine
I know this is no Logic thing, but I definitively hope that anyone from Apple is reading along. Started a new business and keep that old SL machine already equipped with Logic Pro + MainStage. The other licence will get used by the other business. As
-
Photoshop Express deleted my pictures
I downloaded Photoshop Express on my phone, and the app "synced" with my phone photos. But now, all of my pictures from the last 3 years have disappeared off my phone. They are not in the image queue in Photoshop. How do I get them back?
-
I'm using iM 11. How do i get lightning effects?
I'm using iM 11. How do i get lightning effects?