Font name containing parenthesis causes BIP exception

Just FYI,
When embedding font name containing parenthesis (eg: CurrierNew(screen).ttf) to a RTF template and then previewing the output in the BI Publisher Plug-In for MS Word the following error comes up:
java.lang.NumberFormatException: For input string: "screen"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at oracle.apps.xdo.generator.pdf.PDFGenerator.setFont(Unknown Source)
at oracle.apps.xdo.generator.pdf.PDFGenerator.setProperties(Unknown Source)
at oracle.apps.xdo.generator.ProxyGenerator.setProperties(Unknown Source)
at oracle.apps.xdo.template.fo.FOHandler.startElement(Unknown Source)
at oracle.apps.xdo.template.fo.FOHandler.startElement(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTMerger.startElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at RTF2PDF.runRTFto(RTF2PDF.java:629)
at RTF2PDF.runXDO(RTF2PDF.java:439)
at RTF2PDF.main(RTF2PDF.java:289)
Removing the parenthesis from the font file name solves the issue.
Font is embedde in template using custom document property:
name: xdo-font.Currier New.normal.normal
type: text
value: truetype.C:\temp\CurrierNew(screen).ttf
Using Oracle BI Publisher Template Builder for Word 10.1.3.4.1. MS Word is 2007.

Just FYI,
When embedding font name containing parenthesis (eg: CurrierNew(screen).ttf) to a RTF template and then previewing the output in the BI Publisher Plug-In for MS Word the following error comes up:
java.lang.NumberFormatException: For input string: "screen"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at oracle.apps.xdo.generator.pdf.PDFGenerator.setFont(Unknown Source)
at oracle.apps.xdo.generator.pdf.PDFGenerator.setProperties(Unknown Source)
at oracle.apps.xdo.generator.ProxyGenerator.setProperties(Unknown Source)
at oracle.apps.xdo.template.fo.FOHandler.startElement(Unknown Source)
at oracle.apps.xdo.template.fo.FOHandler.startElement(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTMerger.startElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at RTF2PDF.runRTFto(RTF2PDF.java:629)
at RTF2PDF.runXDO(RTF2PDF.java:439)
at RTF2PDF.main(RTF2PDF.java:289)
Removing the parenthesis from the font file name solves the issue.
Font is embedde in template using custom document property:
name: xdo-font.Currier New.normal.normal
type: text
value: truetype.C:\temp\CurrierNew(screen).ttf
Using Oracle BI Publisher Template Builder for Word 10.1.3.4.1. MS Word is 2007.

Similar Messages

  • Jsp 2.0 tagfile with name-from-attribute causes jasper exception

    hello there, i'm messing around with jsp 2.0 tag files and can't get this simple example to work (tried it for hours in variations ...)
    the tag file:
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ attribute name="v" required="true" %>
    <%@ variable name-from-attribute="v" variable-class="java.lang.Long" alias="a" scope="AT_END" %>
    <c:set var="a" value="${123}"/>
    <p> TAG: ${v} = ${a} </p>the jsp file:
    <%@ taglib prefix="demo" tagdir="/WEB-INF/tags/demo" %>
    <demo:varAttr v="x"/>
    <p> JSP: x = ${x} </p>exception :
    org.apache.jasper.JasperException: Unable to compile class for JSP
    root cause:
    java.lang.RuntimeException: org.apache.jasper.JasperException: /WEB-INF/tags/demo/varAttr.tag(3,1) The attribute directive (declared in line 2 and whose name attribute is "v", the value of this name-from-attribute attribute) must be of type java.lang.String, is "required" and not a "rtexprvalue".
    ... and so on
    everything else works fine (name-given attribute).
    i use tomcat 5.9.
    any ideas? maybe somebody could try my example on a different installation.
    thank you in advance for any help, because i ran out of ideas.

    The attribute "v" is not allowed to take runtime expressions if you are using it with a name-from-attribute.
    rtexprvalue defaults to true, so you must explicitly make it false.
    <%@ attribute name="v" required="true" rtexprvalue="false" %>Cheers,
    evnafets

  • Toplink Exception: caused by EXCEPTION [TOPLINK-125]

    Hi,
    Sorry i can't provide much info at the moment, but this has just been passed on from a colleague at work.
    The following error has occurred now that we have temporarily set all descriptors to use noIdentityMap().
    It does not happen when caching is switched on.
    Jul 01, 2003 06:32:36 PM com.aon.ame.quotation.ejb.QuotationBean updateSectionQuotation
    INFO: Toplink Exception: caused by EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
    DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)]):
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
    DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)])
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
    DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)])
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at TOPLink.Public.Exceptions.TOPLinkException.<init>(Compiled Code)
         at TOPLink.Public.Exceptions.ValidationException.<init>(Compiled Code)
         at TOPLink.Public.Exceptions.DescriptorException.<init>(DescriptorException.java:176)
         at TOPLink.Public.Exceptions.DescriptorException.<init>(DescriptorException.java:183)
         at TOPLink.Public.Exceptions.DescriptorException.valueHolderInstantiationMismatch(DescriptorException.java:1363)
         at TOPLink.Private.Indirection.BasicIndirectionPolicy.validateAttributeOfInstantiatedObject(Compiled Code)
         at TOPLink.Public.Mappings.ForeignReferenceMapping.getAttributeValueFromObject(Compiled Code)
         at TOPLink.Public.Mappings.ForeignReferenceMapping.buildClone(Compiled Code)
         at TOPLink.Private.Descriptors.ObjectBuilder.populateAttributesForClone(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.cloneAndRegisterObject(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.checkExistence(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.internalRegisterObject(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.registerObject(Compiled Code)
         at com.aon.ame.quotation.ejb.QuotationBean.updateSectionQuotation(Compiled Code)
         at com.aon.ame.quotation.ejb.EJSRemoteQuotation.updateSectionQuotation(EJSRemoteQuotation.java:2418)
         at com.aon.ame.quotation.ejb._Quotation_BaseStub.updateSectionQuotation(_Quotation_BaseStub.java:4146)
         at com.aon.ame.quotation.ejb._Quotation_Stub.updateSectionQuotation(Compiled Code)
         at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.doUpdateBrokerSpecialEndorsement(Compiled Code)
         at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.doUpdateWording(ViewSpecialEndorsementsAction.java:551)
         at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.amePerform(ViewSpecialEndorsementsAction.java:127)
         at com.aon.ame.struts.action.AmeBaseAction.aonPerform(AmeBaseAction.java:48)
         at com.aon.struts.action.BaseAction.perform(Compiled Code)
         at org.apache.struts.action.ActionServlet.processActionPerform(Compiled Code)
         at org.apache.struts.action.ActionServlet.process(Compiled Code)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled Code)
         at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
         at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(Compiled Code)
         at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
         at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled Code)
         at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Compiled Code)
         at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled Code)
         at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)
    Jul 01, 2003 06:32:36 PM com.aon.struts.action.BaseAction perform
    SEVERE: com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.aonPerform() threw an exception: RemoteException occurred in server thread; nested exception is:
         com.ibm.ejs.container.UncheckedException: ; nested exception is:
         EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    Can anyone shed any light on why this might have happened?
    Many thanks.

    I don't see how caching is affected by this, but the exception is complaining that you have a relationship that uses indirection and have not instantiated the value holders.
    I.e.,
    Customer has 1-1 to Address, and you're using ValueHolderInterface for the type. Either in the constructor or in the declaration of the attribute, you need to init the value holder. You should do the same for 1-M's also (unless you're using transparent indirection) For example:
    public class Customer {
    String name;
    String title;
    ValueHolderInterface address = new ValueHolder();
    ValueHolderInterface orders = new ValueHolder(new Vector());

  • The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6

    The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6
    Hi There,
    The subject header just about says it all. This is the first action I took with MAX - it is a fresh install. The file I wanted to save was still written and the FP seems to be working ok. However, I need to know what happened.
    I can't post the whole log file due to the amount of characters allowed on this post. I can cut and paste sections if there is a specific part of the file you need. Below is the first section and last section.
     Context where exception was caught:
    Func:
    CmxAggregateItemUI::InvokeCommand Args: plugin=niFPui.mxx Item=0107EAB1
    cmdID.cmdId={4A36174B-EC0C-4D73-A23D-F15D164542DE} cmdID.index=0
    Application   : C:\Program Files\National Instruments\MAX\NIMax.exe
    User Name     : slaney
    OS Version    : 5.1.2600 (Service Pack 3)
    Exception Code: C000001E
    Exception Addr: 457BC448
    Return Address: 457BC448
    Function Name : nNIFPServer::tFpLinearScaleRange::`vftable'
    Module Name   : FieldPoint71
    Parameters    : F001008E 7800FDDD C5100DFC EC0107EA
    Source File   : (not available)
    Return Address: 481000C3
    Function Name : (not available)
    Module Name   : (not available)
    Parameters    : 00000000 00000000 00000000 00000000
    Source File   : (not available) 

    Hi,
    I did a research on your error message and it seems this problem was introduced with MAX 4.6. This version switched to a new error reporting mechanism and reports even errors that are which are not critical to your task.
    These errors typically show up as "unexpected" and if your error falls into this category have a look to this KB for further assistance.
    If it doesn't fall into this category, your could try to go back to the MAX 4.5 or 4.4.. Of course you would need to reinstall some components and might not be able to use newer drivers at all.
    Let me know.
    DirkW

  • 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 Advance

    Hi
    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

  • MAX error, niGPIBsys.dll plug-in caused an exception

    Trying to connect to hardware via the local network to send ASCII strings. I can ping the static IP address successfully, but can't get anything from it in LabVIEW.
    VISA resource at the moment is TCPIP0::xxx.xxx.xxx.xxx::INSTR, which I think is right.
    MAX returns this error on startup:
    The niGPIBsys.dll plug-in caused an exception in the CmxSysExpertManager::FinalizeExpert function in the NIMax process.
    See these files for details:
    C:\ProgramData\National Instruments\MAX\Logs\20130709_091257-NIMax-00001848.log
    C:\ProgramData\National Instruments\MAX\Logs\20130709_091257-NIMax-00001848.dmp
    Then won't make new devices.
    VISA and 488 have both been reinstalled, and the nearest error I could find was number 6 here:
    http://digital.ni.com/public.nsf/allkb/6CA56E2DDBCCA06086257591006141EE?OpenDocument
    ... but PAE is definitely not enabled.
    Thanks in advance for any suggestion.
    (LabVIEW version 11.0 32-bit, windows 7, hardware is a Votsch Industrial Oven with static IP address)

    Sorry, I'm confused myself.
    LabVIEW communication with one instrument works when I manually entered TCPIP0::xxx.xxx.xxx.xxx::INSTR, so over the local network. It also worked when I connected it to my computer with a USB cable because the USB::<something> option came up in the drop down list of the VISA resource name panel straight away.
    With the other instrument, it has both USB and ethernet sockets, I couldn't get a response using the same TCPIP format as above, even though I know the IP address (and I tried all combinations of w/ wout/ INSTR) and I could ping it. Haven't been able to plug it into anything with USB directly as I can't get a computer near it at the moment. Tried LabVIEW's VISA serial read write example programme... does that not make sense then? I got error -1073807343.
    So I tried to use MAX according to tutorials and encountered the above problems. I suspect the MAX problem is seperate to my VISA connection problems. Can MAX not be used to find and configure connections both USB (is this the same as GPIB?) and TCPIP?

  • 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.

  • Adding new constant value to an 'enum' used in a field causes an exception

    We are using the DPL. I added a new constant to an enum that is used as a field on an entity called Booking (this field is not a key). This seems to cause an exception during onForeignKeyDelete when we delete an object from a related entity. The constraint is a "NULLIFY" on a "MANY_TO_ONE" relationship, so the effect should be just to nullify the Booking foreign key, but for some reason the fields are being checked and causing this exception. Shouldn't it be possible to add a new constant value to an enum without having to do some sort of migration? The stack is below. Note that the two types mentioned in the exception message are in fact the same (this is the enum). For the moment we can truncate our database, because we are still in development, but this would present a problem in production.
    IllegalArgumentException: Not a subtype of the field's declared class com.chello.booking.model.BookingStatus: com.chello.booking.model.BookingStatus
    at com.sleepycat.persist.impl.RawAbstractInput.checkRawType(RawAbstractInput.java:142)
    at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:75)
    at com.sleepycat.persist.impl.RawAccessor.writeField(RawAccessor.java:232)
    at com.sleepycat.persist.impl.RawAccessor.writeNonKeyFields(RawAccessor.java:148)
    at com.sleepycat.persist.impl.ComplexFormat.writeObject(ComplexFormat.java:528)
    at com.sleepycat.persist.impl.PersistEntityBinding.writeEntity(PersistEntityBinding.java:143)
    at com.sleepycat.persist.impl.PersistKeyCreator.nullifyForeignKeyInternal(PersistKeyCreator.java:170)
    at com.sleepycat.persist.impl.PersistKeyCreator.nullifyForeignKey(PersistKeyCreator.java:137)
    at com.sleepycat.je.SecondaryDatabase.onForeignKeyDelete(SecondaryDatabase.java:1082)
    at com.sleepycat.je.ForeignKeyTrigger.databaseUpdated(ForeignKeyTrigger.java:37)
    at com.sleepycat.je.Database.notifyTriggers(Database.java:2016)
    at com.sleepycat.je.Database.deleteInternal(Database.java:800)
    at com.sleepycat.je.Database.delete(Database.java:714)
    at com.sleepycat.persist.BasicIndex.delete(BasicIndex.java:133)
    at com.sleepycat.persist.PrimaryIndex.delete(PrimaryIndex.java:206)
    at com.sleepycat.persist.BasicIndex.delete(BasicIndex.java:124)
    at com.sleepycat.persist.PrimaryIndex.delete(PrimaryIndex.java:206)
    Kind regards
    James Brook

    James,
    I've started investigating this and at first look it does appear to be a DPL bug. Over the next few days I'll look more deeply and report back here with what I find. If it is indeed a bug, we'll fix this for the next JE 4.0.x release and I'll make the fix available to you.
    You are correct that adding enum values is allowed without a conversion of any kind. The only change you should have to make, other than adding the enum value, is to bump the version of the containing entity in the @Entity annotation. I'm suspect you've already done that, but if you hadn't, it wouldn't cause the problem you're seeing.
    We have tested the addition of enum values, but not in combination with foreign key deletion and the NULLIFY constraint, I'm afraid.
    If I'm correct about it, the bug is specific to adding enum values and deleting a secondary key with the NULLIFY constraint, prior to re-writing the entity in some other way. So if the entity is updated (written) before the secondary key is deleted, then the problem should not occur. Therefore, one workaround is to call EntityStore.evolve after adding the enum value, and before using the store in other ways.
    Thanks for reporting this, and I hope this is not blocking your development.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • The font 'Didot' contains an invalid encoding. Some characters may not display.

    I am receiving this message:
    "The font 'Didot' contains an invalid encoding. Some characters may not display."
    The message appears only in one form, not others. It appears only once, the first time I click on the form after opening it, then not again until I reopen the form.
    The font is not embedded in the form and does not exist on my computer. The font is not employed in any field in the form or in its static elements.
    Would appreciate any help in getting rid of this very annoying message.

    KKKRRRGGG wrote:
    I have a 2 page PDF form that is getting this error message every time I open the document.
    "The font "HelveticaNeue" contains an invalid encoding. Some characters may not display."
    The document has been in use for a year (never having this error message) and needed some updates. All that was changed was the addition of some extra fields and some options in one java script to reflect extra addresses in a drop down menu.
    HelveticaNeue was in a PDF layout (from Illustrator) for the background but this variable was removed when I converted all fonts to curves (outlines) and replaced it in to my form. Under Properties>Fonts HelveticaNeue isn't even listed. All fields are Myriad Pro (triple checked) so I cannot understand how it is still an issue. It does not seem to have any impact on the document apart from the error message. It is hard to remove when it does not appear anywhere in the document except for the error message.
    I have worked backwards and deleted all java scripts and it is still an issue. I have re-imported the background with active HelveticaNeue fonts and it is still an issue. Deleted any fields that relate to java scripts and it is still an issue. Tearing the hair out.....
    Any help would be hugely appreciated as I would prefer to not have to start again from scratch.
    Run FontBook and verify the Font. If defective open your System Install CD  open Fonts. Drag this font to Desktop.
    If you can Remove the defective font by draging to Trash (if system font you'll have to give username and Password) .
    Then drag the copy on Finder in same folder dective was removed from
    THen Restart Computer with shift key down. Hold down until a screen comes up where you must sign in. wait until screen fully loads. Now try the PDF.  If works shut down Acrobat (or Reader) and the restart computer normally.
    If this doesn't work do the repair located at: http://support.apple.com/kb/DL1377

  • Font names not shown in Spotlight search

    Whenever I perform a search with Spotlight font names are not shown, see image below.
    Does anyone have an idea what's causing this?

    Hi Xergio,
    Apparently this bug is gone in Mavericks:

  • How to get the font name?

    Hi i used the following code to find the font in illustrator cs3. but somewhere it exits the loop.
    Please some one guide me.
    AIArtHandle path=NULL,line;
        short artType;    AILayerHandle layer;
        ADMItemRef    ItemRef, FontListRef;   
        ADMListRef    theItemList, FontList;   
        short ccount;int l, i;
        AIErr error;
        long count, FontCount;   
        char buf[250],fonttext[500];
        short forfont;
        AIFontStyle faceStyle;
        AIFontKey fontKey;
        int idx;
        ADMEntryRef entry;
        AIArtHandle textPath=NULL;
        AIArtSet artSet;
        long numLayers;
        unsigned char title[150];
        strcpy(ArtAssess.FontList,"\0");
        error = sAILayer->CountLayers( &numLayers );
        ItemRef = sADMDialog->GetItem(g->qcGuide , lstDifferences);
        theItemList = sADMItem->GetList(ItemRef);
        FontListRef = sADMDialog->GetItem(g->qcCheckDialog , lst_FontsTo);
        FontList = sADMItem->GetList(FontListRef);
        //for ( int q = 0; q< numLayers; q++ )
        for (int q = numLayers-1;q >= 0; q-- )
            error = sAILayer->GetNthLayer( q, &layer ); //extracting layer by layer   
            sprintf(buf,"%d",q);
            MessageBox(NULL,buf,"q",0);
            error = sAILayer->GetLayerTitle( layer, title );
            if(strstr((char*)title,"SCAN")==0 && strstr((char*)title,"Bounding Box")==0)
                error=sAIArtSet->NewArtSet(&artSet);
                error=sAIArtSet->LayerArtSet (layer,artSet );
                error=sAIArtSet->CountArtSet (artSet, &count );
                FontCount =  sADMList->NumberOfEntries( FontList );
                int fontfound=0;
                for(long j=0;j<count;j++)
                    error=sAIArtSet->IndexArtSet (artSet,j,&path );
                    error = sAIArt->GetArtType(path,&artType);
                        if (artType==kTextFrameArt)
                            //char buf[250];
                            AIPathStyle style;
                            AIPathStyleMap styleMap;
                            long index;
                            TextRangesRef selRef;
                            TextRangeRef textRange;
                            sAITextFrame->GetATETextRange(path,&textRange);
                            if ( error ) throw( error );
                            ITextRange itext( textRange );
                            ICharFeatures features=itext.GetUniqueCharFeatures();
                            bool isValid = false;
                            IFont textfont=features.GetFont(&isValid);
                            FontRef FntRef=textfont.GetRef();
                            sAIFont->FontKeyFromFont(FntRef,&fontKey);
                            MessageBox(NULL,"Fonts","2",0);
                            //sAIFont->GetFullFontName(fontKey,fonttext,forfont);
                            sAIFont->GetUserFontName(fontKey,fonttext,forfont);
                            //sAIFont->GetFullFontName(fontKey,fonttext,forfont);
                            sprintf(buf,"%s",(char*)fonttext);
                            MessageBox(NULL,buf,"Font Name",0);
                            bool Exists=CheckIfValueExists(ArtAssess.FontList,buf);
                            if (Exists==false)
                                strcat(ArtAssess.FontList,buf);
                                MessageBox(NULL,ArtAssess.FontList,"Fonts Used",0);
                                strcat(ArtAssess.FontList,";");
                                Exists=true;
        MessageBox(NULL,"End font","",0);
        return kNoErr;

    When dealing with text frames that contain multiple styles such as different fonts, kerning or point sizes etc. You need to split the text frame into text runs.
    Using an ITextRunsIterator you can essentially split the text frame into a list of uniquely-styled text ranges.
            AIArtSet artSet;
            long artCount = 0L;
            AIArtSpec spec = {kTextFrameArt,kArtHidden,0 };
            sAIArtSet->NewArtSet(&artSet);
            sAIArtSet->MatchingArtSet(&spec, 1, artSet)
            sAIArtSet->CountArtSet(artSet,&artCount);
            for (int index = 0; index < artCount ++index)
                TextRangeRef trRef = NULL;
                AIArtHandle art = NULL;
                sAIArtSet->IndexArtSet(artSet,index,&art);
                sAITextFrame->GetATETextRange(art,&trRef);
                ATE::ITextRange textRange(trRef);
                ATE::ITextRunsIterator textRunsIterator(textRange.GetTextRunsIterator());
                while (textRunsIterator.IsNotDone())
                        // All of the text in this text range will have the same stylistic attributes
                        ATE::ITextRange range(textRunsIterator.Item());
                        // Get your character features etc here.
                       textRunsIterator.Next();

  • Just Installed CS4; Need Help With Font Names/Colors/Sizes

    In past versions of Dreamweaver, I think I clicked on "Use HTML instead of CSS" in the Preferences. I need to be able to select the font names, colors, and sizes from the Property Inspector.
    How do I set it up the same way in CS4. I have clicked on the toggle button in the Property Inspector for HTML instead of CSS, but it doesn't give me the menus to select font names (Arial, Helvetica, etc.), font size (1, 2, 3, 4, etc.) and font color (imagine your own).
    Thanks!
    Mike

    DW CS4 makes you use the CSS properties inspector because CSS is  the defacto web standard now.  HTML formatting is deprecated (obsolete) according to W3C web standards.
    There are three ways to use CSS in your site pages.
    Inline: A one-time style applied within the code as an attribute of a given element (or tag). This is similar to the old HTML formatting method but the code itself is a little different.
    Embedded: A style sheet declaration in the head of the document that will only effect that single page on the site.
    External: A physical CSS file containing rules (styles) that is linked to from multiple pages within the site.
    It doesn't matter if you have dynamically generated or static web pages.  CSS is still the most efficient way to style your content.
    DW CS4 - What's new in the Properties Inspector?
    http://www.communitymx.com/content/article.cfm?page=2&cid=8AAE7
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Font Names

    I have a custom font on my Mac which the Font Book shows as being named LCDNineteenHundred. However all my applications (e.g. PageMaker, Acrobat, Freehand etc.) show the font name as LCD1900. This causes me problems when I try to open a document created on the Mac and using this font on my PC. The PC says it can't find LCD1900 and I have to manually substitute the PC's LCDNineteenHundred font.
    Does anybody know of a way that I can force the MAC applications to show the font name as LCDNineteenHundred to give me PC compatibility and save me hours of work.

    Hi Albourneboy,
    The name of the file you see on the desktop has nothing to do with the internal name of the font. You could rename the font asdoiamhgoiwks and it will still show up as LCD1900 in your applications, because that's the internal name.
    Did you create this custom font, or did you pay another firm to create it for you? If the latter, go back to them and have them save you a new font with the correct internal name of LCDNineteenHundred. Otherwise, you would need a font editor such as FontLab or Fontographer to fix the internal name. Neither of which is an inexpensive program.
    If you'd like, you could email it to me and I could fix it for you.

  • Pages 2.0 is exporting Word files in name.docx format causing duplicates files on my PC via iTunes.  Anyway to have it export name.doc files as Pages did earler?

    Pages 2.0 is exporting Word files in name.docx format causing duplicates files on my PC via iTunes.  Anyway to have it export name.doc files as Pages did earler?

    What I read in the PDF version of the manual (while I was waiting for my plane this afternoon), it seems pretty comprehensive. I was particularly interested in what it had to say about creating your own templates.
    Supposedly, it will remember if I left invisibles showing in templates (one of my big complaints with Pages 1). I'll find out soon enough. I must say that opening my two documents I use for answering posts here in discussions sure did open faster & navigating an 11-page table was much faster.
    Another good thing I noticed, the font used for the serial number is much clearer & there were no confusing characters - O/0, S/5, etc.
    Peggy

  • Getting font name for Type 1 subsetted font

    Hi,
    The attached PDF contains some subsetted  Type1 fonts.
    When I use the   function PDEFontGetAttrs and  get the PDEFontAttrs::name, I am getting the font name as   "GPCDOB+NewBaskerville-Roman".
    What function should I use to get the original font name and not the subset name ?  In the above example, I need to get  “NewBaskerville-Roman".
    I use the following piece of code to get font name:
    PDEFontAttrs fontAttrRec;
    PDEFontGetAttrs (font, &fontAttrRec, sizeof(PDEFontAttrs));
    strcpy_s(fontName,100,ASAtomGetString(fontAttrRec.name));
    fontName I get is    "GPCDOB+NewBaskerville-Roman".
    (I am using Adobe PDFLibrary)
    Thanks,
    Priya

    Hi,
    Thanks.
    I have decided to go with stripping off the first 7 characters.

Maybe you are looking for

  • Acrobat 9 :only page 1 of a web page is converted to pdf, remaining pages come out as blanks

    I have not seen this question anywhere but thats right. If a web page is 5 pages long, and we print it on the Acrobat 9 printer we get the first page correctly after which the remaining 4 pages are blank white sheets. I got the same result when I fir

  • How do i get my playlist to sync

    how do i get my playlist to sync

  • My Tiger Mac Os X v 10.4 DVD looks blank! Whassup?

    My G4 said the volume needs to be repaired... I am running 10.4.11 now. I bought Tiger v 10.4 and my G4 says it is empty. I tried restarted the machine with the DVD in the DVD drawer and it came up with "This DVD is unreadable by this machine." I can

  • Portability issues

    Hi, We could not build db-4.5.20 "out of the box" on solaris2.6 or 2.7 or on AIX-4.3, hpux10.20, or Tru64 (4,0D and 5.1) with the native compilers. Most of the problems were to do with socklen_t, but there were one or two other little things. We have

  • Pls. Can Apple help me.....

    Dear Sir or Madam.. I am a student of British International School in Cairo. Now as I am taking Business at GSCE stage i decided to do your company for my coursework. I would be pleased if I would recieve from Apple any relevant information about iPo