Replacing fonts, characters disappear
I have a problem with the fonts.
At my company we are changing postscript fonts (Adobe FontFolio 8) to OpenType (Adobe FontFolio 11), and replacing fonts from indesign, characters disappear (for example, replacing the Helvetica Neue by Helvetica Neue LT Std) and some text boxes are empty. Do you know why it can be?
Yes, I have cheked it. Some text frames are empty. But only if I click "Change all", with "Change" and "Change/Find" it does well.
I have found the text frames are empty only in documents complicated, with many charts and tables.
Similar Messages
-
Chinese font characters disappearing in CS6
I need to redesign an InDesign file that is in Chinese and originally created in CS5. When I open the document in CS6 some characters disappear (no pink box). When I substitute the font with another Simplified Chinese font, some of the missing characters appear but then I lose other characters. Is this a CS6 issue? Any solutions?
Chinese fonts can vary dramatically in character count, whether simplified or traditional, but older simplified fonts are particularly small (GB vs. GBK, etc.): the ChineseMac site has a handy list showing character counts for a bunch of fonts. And sometimes ID doesn't show a pink box, just a blank.
Differences can be really subtle. Several years ago I worked on a job using Adobe Fangsong, if I recall correctly. Some stuff disappeared on a colleague's machine, and it turned out he was using a version of the font bundled with an earlier version of InDesign and hadn't installed the revised font when upgrading ID. (The older one lacked some of the vertical punctuation symbols I'd added to the files.)
Good luck!
David -
Problem with PDF export and embedded font (characters disappear)
Designer: Crystal Reports 2008 SP 2
Engine: CR4E 2.0 SP2 (runtime_12.2.203)
Hi there!
we found a problem in the pdf export. It seems like there would be a problem with the embedded fonts, the problem is as follows:
Rpt file with, for example only a text box which contains the german string " Änderungs Schlüssel ".
Export the Rpt file with CR4E to a pdf file.
When we open the pdf file in Adope Reader 8, the text appears to be correct,
but if we print the PDF file from the Adope Reader, the text changes to " nderungs Schl sselu201C,
here we are missing ther german umlaute.
When we open the file for example with an alternative PDF reader like Foxit Reader, there they are also missing.
After i found some posts here in the forum, there are people facing the same problem, since i couldn't find a solution in the forum, we build a little workaround for it that works for us.
For all of you that have the same problem here the workaround:
We used the IText JAVA library, this jar can can help as to fix the PDF file so the text is displayed correctly.
Here the code:
ReportClientDocument doc = new ReportClientDocument();
doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
doc.open("C:\XY.rpt", OpenReportOptions._openAsReadOnly);
//... database logon,.....
InputStream inputStream = doc.getPrintOutputController().export(ReportExportFormat.PDF);
inputStream = PDFHealer.heal(inputStream);
//... write the stream some whereThe helper class using IText:
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.pdf.PdfContentByte;
import com.lowagie.text.pdf.PdfImportedPage;
import com.lowagie.text.pdf.PdfReader;
import com.lowagie.text.pdf.PdfWriter;
public class PDFHealer
public static InputStream heal(InputStream in) throws DocumentException, IOException
try
ByteArrayOutputStream out = new ByteArrayOutputStream();
PdfReader reader = new PdfReader(in);
// we retrieve the total number of pages
int n = reader.getNumberOfPages();
// step 1: creation of a document-object
Document document = new Document();
// step 2: we create a writer that listens to the document
PdfWriter writer = PdfWriter.getInstance(document, out);
// step 3: we open the document
document.open();
// step 4: we add content
PdfContentByte cb = writer.getDirectContent();
int i = 0;
while( i < n )
document.newPage();
i++;
PdfImportedPage page1 = writer.getImportedPage(reader, i);
cb.addTemplate(page1, 0, 0);
// step 5: we close the document
document.close();
ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
out.close();
return ret;
finally
in.close(); -
Find and Replace Japanese characters in pdf file on iPhone
Hi eveybody !
I want to find and replace Japanese characters in pdf on iPhone.
I using zlib to deflate stream - endstream block and extract text.It's work fine with latin-text.
But when i work with japanese characters , I don't know how to do it ?
I decode a sample japanese pdf file, and I know that each Japanese characters are performances as hex string : "<01b7><0e230a23>..."
But i don't know how to convert Japanese characters to the hex string like that.
Can evrybody help me?
Thanks!Searching is the same process as extracting - since it's about turning page content into something understandable. So that still remains what you need to learn/understand - of course, referring back to all the previous sections about font formats, etc.
Replacing in PDF is EXTREMELY DIFFICULT for two reasons - subset fonts and explicit glyph positioning. Have you determine (conceptually, if nothing else) how you plan to addresses these two issues?
PDF doesn't do UTF8 for page content - so don't worry about that. -
How to replace special characters in string.
Hello,
I want to replace special characters such as , or ; with any other character or " ".I find out there is no such function is java for this.There is only replace() but it accepts only chars.If anybody know how to do this?.
Thanks,Hello,
I want to replace special characters such as , or ;
with any other character or " ".I find out there is no
such function is java for this.There is only replace()
but it accepts only chars.If anybody know how to do
this?.
Thanks,Can't you just do the following?
public class Test
public static void main(String[] args)
String testString = "Hi, there?";
System.out.println(testString.replace(',',' '));
} -
Looking for, and replace special characters
Hi
I am quite new to AppleScript and can't figure this out. Any help would be appreciated.
I have received several (a lot of) folders containing images with some strange characters in the file names. The images has to go to web, and I want to replace those characters with some that are web friendly. The characters in question is some Swedish A's and O's (Ä, ä, Ö, ö) and one that looks like the Apple Command symbol. (I was told this one is a combination of a and e).
Then, I would like to replace all spaces between the words in the file names with an underscore.
In addition, all image file names start with capitals and I would like to replace these as well.
Thanks
Neal
G5 Mac OS X (10.4.6)Here's a modified version of the standard script:
try
tell application "Finder" to set the source_folder to (folder of the front window) as alias
on error -- no open folder windows
set the source_folder to path to desktop folder as alias
end try
display dialog "Search and replace in:" buttons {"File Names", "Folder Names", "Both"} default button 3
set the search_parameter to the button returned of the result
repeat
display dialog "Enter text to find in the item names:" default answer "" buttons {"Cancel", "OK"} default button 2
set the search_string to the text returned of the result
if the search_string is not "" then exit repeat
end repeat
repeat
display dialog "Enter replacement text:" default answer "" buttons {"Cancel", "OK"} default button 2
set the replacement_string to the text returned of the result
if the replacement_string contains ":" then
beep
display dialog "A file or folder name cannot contain a colon (:)." buttons {"Cancel", "OK"} default button 2
else if the replacement_string contains "/" then
beep
display dialog "A file or folder name cannot contain a forward slash (/)." buttons {"Cancel", "OK"} default button 2
else
exit repeat
end if
end repeat
display dialog "Replace “" & the search_string & "” with “" & the replacement_string & "” in every item name?" buttons {"Cancel", "OK"} default button 2
tell application "Finder"
set the item_list to every item of entire contents of source_folder
tell me
set item_list to reverse of the item_list
end tell
set source_folder to source_folder as string
repeat with i from 1 to number of items in the item_list
set the_name to name of item i of the item_list
set this_item to item i of the item_list
set this_info to properties of this_item
set the current_name to the_name
set change_flag to false
repeat with this_char from 1 to (count items of search_string)
if the current_name contains item this_char of (search_string) then
if the search_parameter is "Folder Names" and ¬
folder of this_info is true then
set the change_flag to true
else if the search_parameter is "File Names" and ¬
folder of this_info is false then
set the change_flag to true
else if the search_parameter is "Both" then
set the change_flag to true
end if
if the change_flag is true then
set this_item to item i of the item_list
-- replace target string using delimiters
set AppleScript's text item delimiters to the item this_char of search_string
set the textitemlist to every text item of the current_name
set AppleScript's text item delimiters to the item this_char of replacement_string
set the newitemname to the textitemlist as string
set AppleScript's text item delimiters to ""
set the current_name to newitemname
end if
end if
end repeat
my setitem_name(thisitem, current_name)
end repeat
end tell
beep 2
on setitem_name(thisitem, newitemname)
tell application "Finder"
--activate
set the parentcontainerpath to (get the container of this_item) as text
if not (exists item (the parentcontainerpath & newitemname)) then
try
set the name of this_item to newitemname
return this_item
on error the error_message number the error_number
if the error_number is -59 then
set the error_message to "This name contains improper characters, such as a colon (:)."
else --the suggested name is too long
set the error_message to error_message -- "The name is more than 31 characters long."
end if
--beep
tell me to display dialog the error_message default answer newitemname buttons {"Cancel", "Skip", "OK"} default button 3
copy the result as list to {newitemname, button_pressed}
if the button_pressed is "Skip" then return 0
my setitem_name(thisitem, newitemname)
end try
else --the name already exists
--beep
tell me to display dialog "This name is already taken, please rename." default answer newitemname buttons {"Cancel", "Skip", "OK"} default button 3
copy the result as list to {newitemname, button_pressed}
if the button_pressed is "Skip" then return 0
my setitem_name(thisitem, newitemname)
end if
end tell
end setitemname
This script variant works by accepting a source string in the form "AB" and desired string "CD". When run, ABCA will become CDCC with the sample strings.
(19254) -
When writing emails the left hand margin is so close to the edge of the page that some characters disappear from view on the left hand of the page. How can I set the left hand margin to not be so close to the left edge of the page?
Oy. You beat your head for hours and finally concede to asking for help, only to solve it two minutes later. Here's the answer.
In the inspector, on the Layout tab, there's a checkbox that reads, "Show Thumbnail Track".
UNCHECK that box and the gutter goes away. -
Regular expressions-how to replace [ and ] characters from a string
Hi,
my input String is "sdf938 [98033]". Now from this given string, i would like to replace the characters occurring within square brackets to empty string, including the square brackets too.
my output String needs to be "sdf938" in this case.. How should I do it using regular expressions? I tried several possible combinations but didn't get the expected results."\\s*\\[[^\\]]+\\]"
-
Replacing 'special' characters
Hi all,
I was wondering if thers is a function module, class (method) or whatever (codepage translation) to convert 'special' characters like:
è, é, ë, ï, etc with respectively e, e, e, i?
More generally speaking we need to convert all characters (whether it be Unicode, Latin-1, etc.) to plain text containing only the letters of the alphabet from a-z and A-Z.
Kind regards,
Micky.@ Rainer,
both thanks a lot for your relevant replies which are quite helpful. And I do think that we still needs some sort of intermediate table to hold at least some characters to be translated/converted into plain text.
@ Gautham,
I'm currently testing this function module with several codepages (parameter INTER_CP) beside the default codepage 1146. For characters like ë and ï this is definitely the way to go, but when using some characters that are really out there like ¥ŖßÞu0152u03A9u03C6, we still seem to be needing an intermediate table to replace these characters.
But again, some very helpful answers.
P.S. Although both answers are potentially worth 10 pts, It only seems fair to give you both the credit you deserve. -
I have had elements 10 for a long time but recently the scroll bar for the fonts has disappeared. any ideas?
First try resetting the tool by clicking the tiny arrow at the far left end of the options bar and choosing reset tool.
But you should be able to use the arrow keys to navigate through the fonts, too. -
Hi, i'm hoping someone can help me....
Im having issues with font book. It's currently empty and all my fonts have disappeared. If i try to install a font it will appear in font book until i restart my computer, then it will disappear again. All Microsoft fonts are non-existent. The only fonts i can access in Microsoft applications are Mac System fonts (which aren't very many). I have looked in the font disabled folder and its empty. I have also downloaded linotype font explorer and it hasn't helped the situation.
This problem all started when i downloaded some fonts from the net for teaching purposes (which i will never do again after all the problems its caused me).
Can anyone help with idea's on how to restore all my fonts? Any advice is much appreciated.
Thanks
EllThese fonts are not standard system fonts. They were most likely added by another app or you installed them manually at some point. For OCR A and B, the old Bitstream versions are installed by CorelDraw for instance. Without knowing which app it actually was, though, your best option is to track them down using font sites such as DaFont.
Mylenium -
How to show korean fonts/characters on 5800xm?
how to show korean fonts/characters on 5800xm?
@drenstin
Perhaps have a look here:http://forum.dailymobile.se/index.php?action=printpage;topic=15893.0
Happy to have helped forum with a Support Ratio = 42.5 -
Is there an easy way to replace fonts in Photoshop ?
Is there an easy way to replace fonts in Photoshop without clicking on each text layer? We just got a new font system, so now our fonts don't match up. Looking for a fast/easy way to replace the fonts like in InDesign or Illustrator.
Actually (You probably can guess what I’m driving at) Scripting could be used to automate such a task, but it would not really be »easy« unless one has some experience in the matter – if text-items contain a mixture of fonts it might even get kind of »complicated«.
Still, depending on the quantity of files to be edited, the OP could try asking in the Scripting Forum if someone might not have a Script for something like this already … -
Replace multiple characters to single character
Hi friends,
I would like to replace multiple characters in a string to a single character. The character may be a pipe (|) or a tilde (~).
For example "|||asdf||123|xyz||" should be changed to "asdf|123|xyz".
I use Oracle 11g2.
Thanks in advance!Without regexp
with testdata as (
select '||asdf||||123|xyz|' str from dual union all
select 'asdf|123|||||||xyz||||' from dual union all
select '||||||asdf|||123||||||xyz||||||' from dual
select
trim (both '|' from
replace (
replace (
replace (str,'|','|'||chr(0))
,chr(0)||'|'
,chr(0)
) str
from testdata
STR
"asdf|123|xyz"
"asdf|123|xyz"
"asdf|123|xyz"
with regexp
with testdata as (
select '||asdf||||123|xyz|' str from dual union all
select 'asdf|123|||||||xyz||||' from dual union all
select '||||||asdf|||123||||||xyz||||||' from dual
select
trim (both '|' from
regexp_replace (
str
,'\|+'
,'|'
) str
from testdata
STR
"asdf|123|xyz"
"asdf|123|xyz"
"asdf|123|xyz"
Message was edited by: chris227 regexp added -
Hello....my replace font pod has stopped working. It no longer shows the font that are in my document. I know I used it recently....
Thanks,
lsNo ideas? This is so weird. Nothing shows up at all.....this is all I get.....Thanks for any help...
Maybe you are looking for
-
Error connecting to Content Server
Hello, we are in the process of upgrading ERP6.0 EHP5 to EHP6 which is also an upgrade to NW702 to NW731. We made a system copy of the productive system and called it XXX and did all the post-systemcopy works that need to be done including creating t
-
Anyway to chat via microphone on MAC with PC User with Yahoo Messenger
I was wondering if there's a software for Mac to chat with someone who is using Yahoo Messenger on a PC? Thanks.
-
What is the driver for wireless adapter in solaris10
any body is able to configure the wireless adapter
-
Hi there! Sorry if I post this in the wrong section. But I was unsure of which to choose so I took the most general. To my problem. I want to use commons lang (http://commons.apache.org/lang/) but I cant make it work. I made a simple testclass to sho
-
I just want to email the file!!!!
Okay! I'm obviously new to Keynote (which I love BTW) but I'm simply trying to email a file to another Mac user and Safari keep giving me these crazy messages. "Safari can't open page.... POSIX error..." What am I doing wrong!?!?!?!? Sorry for postin