Merging roads with added text

Hello,
I'm designing a map in Illustrator CS5. 
Does anyone know of a way to merge 2 paths (roads) which have text attached, so they seamlessly blend together.
I've tried using a compound path but this doesn't work with text added.
I need to be able to easily change the roads direction/shape without having to use different layers.
Thanks.
JS Baxter

An appearance workaround at the group level may help, but without seeing how your roads and type are built cannot really offer any help. Building maps with overlapping graphics all on one layer can be difficult to work with.

Similar Messages

  • Merging roads with added text in illustrator CS5

    Please help,
    I need a way to merge roads with text added in illustrator. I've tried compound paths but it won't allow text to be added.
    I've attached an .ai file
    Kind Regards
    JS Baxter

    Doug,
    With Butt Caps, the strokes of the branch roads will always end inside the through road (if their end points are placed on top of the through road path (Smart Guides say path). And with the second stroke applied at group level it just follows the outer shape as shown in the first OP image. If you hide the Type paths, you can also add new roads and drag them into the basic path group, then create a Type path from a copy.
    You can move matching Anchor Points about together.
    Adjusting the corresponding Handles is more tricky, but you can:
    5) Lock the Type path (group) and drag the Handle of the Road path to the desired position and unlock the Type path (group);
    6) Drag over both Anchor Points then drag the Type path Handle to coincide with the Road path Handle (Smart Guides say handle when you are there).
    You will probably have to repeat 6) once or maybe twice or more, but it gets easier the closer you are.
    Edit: Hi Steve. No frost at night, so I have just stopped carrying our new star magnolia inside every night; now it has a temporary fence to keep the roe deer outside snapping distance.

  • Documents edited with added text and sketch not shown while emailing in iPad 2.

    Documents edited with added text and sketch not shown while emailing in iPad 2.

    Hi Rakmana,
    This is most likely an issue with Apple's iOS Mail program's.
    I think you are opening your modified PDF in Apple built-in PDF Preview. Apple's code does not properly draw the comments, but if you look at the PDF in virtually any other PDF application that isn't just using Apple''s code, or on any desktop computer, you will see the comments you've added.
    Thanks
    -Satyadev

  • Help with adding text please.

    Hi- Im new to the forum and even newer to Dreamweaver.
    Ive just started putting a site together using a youtube
    tutorial which has gone really well. Ive designed my layout in
    photoshop, then put it into imageready to edit/slice, saved as
    html- then opened with dreamweaver. I found it easy this way, and
    rollovers can be made within the html file in image ready.
    Anyway- heres where the problems started- Im trying to add
    text over on image. The tutorial I went off said to cut the image
    from the Src then paste it into the Bg field so that you can type
    over it- but it goes nuts! When you enter at the end of text lines
    the image begins to repeat itself underneath and white blocks show
    up at the side of the image!?
    Is there a way to just easily type over on image- i tried
    doing this in image ready which works, but saves the text as an
    image, but I want the text the be recognised by google- Im
    confused- please help.
    I was reading about tables and adding the image as a table
    background- but positioning the table in the correct place is
    confusing too- told you i was a newbie!
    Thanks in advance for any help!
    Claire

    Universal wisdom, except of course, at this NG. :-)
    Walt
    "Nancy O" <[email protected]> wrote in message
    news:[email protected]...
    > At YouTube, you get what you pay for. ;-)
    >
    > --Nancy O.
    > Alt-Web Design & Publishing
    > www.alt-web.com
    >
    >
    > "Walt F. Schaefer" <[email protected]> wrote
    in message
    > news:[email protected]...
    >> I confess I've never been to YouTube but I don't
    think it would be my
    > first
    >> choice for DW tuts.
    >>
    >> --
    >>
    >> Walt
    >>
    >>
    >> "Nancy O" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >> > Walt is 100% correct. Image Ready code - yuck!
    >> >
    >> > To give you a basic idea of how to work with
    image slices in DW, have a
    >> > look
    >> > at this page:
    >> >
    http://alt-web.com/Image-slices-in-a-CSS-based-layout.html
    >> >
    >> > Also this: Taking a Fireworks (or Pshop) comp
    to a CSS based layout in
    > DW
    >> >
    >
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    >> >
    >> > If none of this makes any sense to you, start
    here:
    >> > www.w3schools.com
    >> >
    >> >
    >> > --Nancy O.
    >> > Alt-Web Design & Publishing
    >> > www.alt-web.com
    >> >
    >> >
    >> > "claire 83"
    <[email protected]> wrote in message
    >> > news:[email protected]...
    >> >> Hi- Im new to the forum and even newer to
    Dreamweaver.
    >> >> Ive just started putting a site together
    using a youtube tutorial
    > which
    >> > has
    >> >> gone really well. Ive designed my layout in
    photoshop, then put it
    >> >> into
    >> >> imageready to edit/slice, saved as html-
    then opened with dreamweaver.
    > I
    >> > found
    >> >> it easy this way, and rollovers can be made
    within the html file in
    > image
    >> > ready.
    >> >> Anyway- heres where the problems started-
    Im trying to add text over
    > on
    >> > image.
    >> >> The tutorial I went off said to cut the
    image from the Src then paste
    > it
    >> > into
    >> >> the Bg field so that you can type over it-
    but it goes nuts! When you
    >> > enter at
    >> >> the end of text lines the image begins to
    repeat itself underneath and
    >> > white
    >> >> blocks show up at the side of the image!?
    >> >> Is there a way to just easily type over on
    image- i tried doing this
    > in
    >> > image
    >> >> ready which works, but saves the text as an
    image, but I want the text
    >> >> the
    >> > be
    >> >> recognised by google- Im confused- please
    help.
    >> >> I was reading about tables and adding the
    image as a table
    >> >> background-
    >> > but
    >> >> positioning the table in the correct place
    is confusing too- told you
    >> >> i
    >> > was a
    >> >> newbie!
    >> >> Thanks in advance for any help!
    >> >> Claire
    >> >>
    >> >
    >> >
    >>
    >>
    >
    >

  • Problem with adding text to a syntax document

    Hello,
    I am trying to write an editor with syntax highlighting option.
    The syntax document works fine but on a slow computer
    after loading a huge document it is impossible to write fluently.
    I think the method highlightKeyword() is not the problem because it highlights still only one line.
    The problem seems to be the rootElement.Has anybody an idea how to make the rootElement faster
    working?
    I also tried to use threads (such as http://ostermiller.org/syntax/editor.html) for inserting text, but then the document is highlighted very slowly.
    Can anybody help me?
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    public class SyntaxTest extends DefaultStyledDocument
         Element rootElement;
         String wordSeparators = ",:;.()[]{}+-/*%=<>!&|~^@? ";
         Vector keywords = new Vector();;
         SimpleAttributeSet keyword;
         public SyntaxTest()
              rootElement= this.getDefaultRootElement();
              keyword = new SimpleAttributeSet();
              StyleConstants.setForeground(keyword, Color.blue);
              keywords.add( "abstract" );
              keywords.add( "boolean" );
              keywords.add( "break" );
              keywords.add( "byte" );
              keywords.add( "case" );
              keywords.add( "catch" );
              keywords.add( "char" );
              keywords.add( "class" );
              keywords.add( "continue" );
              keywords.add( "default" );
              keywords.add( "do" );
              keywords.add( "double" );
              keywords.add( "else" );
              keywords.add( "extends" );
              keywords.add( "false" );
              keywords.add( "final" );
              keywords.add( "finally" );
              keywords.add( "float" );
              keywords.add( "for" );
              keywords.add( "if" );
              keywords.add( "implements" );
              keywords.add( "import" );
              keywords.add( "instanceof" );
              keywords.add( "int" );
              keywords.add( "interface" );
              keywords.add( "long" );
              keywords.add( "native" );
              keywords.add( "new" );
              keywords.add( "null" );
              keywords.add( "package" );
              keywords.add( "private" );
              keywords.add( "protected" );
              keywords.add( "public" );      
              keywords.add( "return" );
              keywords.add( "short" );
              keywords.add( "static" );
              keywords.add( "super" );
              keywords.add( "switch" );
              keywords.add( "synchronized" );
              keywords.add( "this" );
              keywords.add( "throw" );
              keywords.add( "throws" );
              keywords.add( "true" );
              keywords.add( "try" );
              keywords.add( "void" );
              keywords.add( "volatile" );
              keywords.add( "while" );
         public void insertString(int offset, String str, AttributeSet a) throws BadLocationException
              super.insertString(offset, str, a);
              int startOfLine = rootElement.getElement(rootElement.getElementIndex(offset)).getStartOffset();
              int endOfLine = rootElement.getElement(rootElement.getElementIndex(offset+str.length())).getEndOffset() -1;
              //highlight the changed line
              highlightKeyword(this.getText(0,this.getLength()), startOfLine, endOfLine);
         public void remove(int offset, int length) throws BadLocationException
              super.remove(offset, length);
              int startOfLine = rootElement.getElement(rootElement.getElementIndex(offset)).getStartOffset();
              int endOfLine = rootElement.getElement(rootElement.getElementIndex(offset+length)).getEndOffset() -1;
              //highlight the changed line
              highlightKeyword(this.getText(0,this.getLength()), startOfLine, endOfLine);
         public void highlightKeyword(String content,int startOffset, int endOffset)
              char character;
              int tokenEnd;
              while (startOffset < endOffset)
                   tokenEnd = startOffset;
                   //find next wordSeparator
                   while(tokenEnd < endOffset)
                   character = content.charAt(tokenEnd);
                        if(wordSeparators.indexOf(character) > -1)
                             break;
                        else
                             tokenEnd++;                    
                   //check for keyword
         String token = content.substring(startOffset,tokenEnd).trim();
                        if(keywords.contains(token))
                   this.setCharacterAttributes(startOffset, token.length(), keyword, true);
         startOffset = tokenEnd+1;
         public static void main(String[] args)
              JFrame f = new JFrame();
              JTextPane pane = new JTextPane(new SyntaxTest());
              JScrollPane scrollPane = new JScrollPane(pane);
              f.setContentPane(scrollPane);
              f.setSize(600,400);
              f.setVisible(true);

    I don't think the root element is the problem. Syntax highlighting is just plain slow for a large file. Here is an example, you can use for comparison purposes, that does [url http://www.discoverteenergy.com/files/SyntaxDocument.java]syntax highlighting. It is very slow when loading large files into the text pane, but works reasonably when modifying the contents of the text pane.

  • Processing multiple files in a directory and merging them with sample text

    Hi,
    I'm trying to use automator (or applescript, or cmd line) to perform a repetitive action on around 5,000 html files.
    Here's the problem, can anyone help with the solution.
    Sample text is in a file called sample.txt
    I want to add the sample txt content to every file in a directory of my choice.
    so the script would need to.
    1. work it's way through the directory content.
    2. For each file it would append the content of the sample.txt and re-save the file to the original file name.

    sorry but in your first message you said you wanted it at the end of the file. also, you didn't really answer my question. an html file in text form usually starts with <html><head>... (it can have other junk there too)
    and ends with ...</body></html>.
    how do you want to handle that?
    cycling through files is not a problem.
    if you are using shell script action you can do the following:
    1. get specified finder items (put the folder with your html files in there)
    2. get folder content
    3. run shell script (pass input as arguments)
    for f in "$@"
    do
    #your shell script here
    done
    In the above "$@" is treated as the ambient folder from step 1 and f as the unix path of an item in that folder.

  • Photo directly to a note with added text?

    I'd like to be able to take a photo with my camera, add text and save it on my iPhone so that it is easily accessible.
    I have Things for the Mac and iCal obviously but would like to do this in any way possible.
    Thanks for any help.

    this would be a super help for me if anyone has any ideas on it. can it be done with some kind of google mashup or some such creature?

  • Problem with adding text to photos in PE6 on my iMac

    I can't seem to add text to any photo. I have a new iMac, installed PE6, and all other features seem to be working fine. I even reset all tools to default just to be sure I didn't tweak something. When I click on the Text tool and click on a photo, a small square appears (almost like a dot) and nothing appears when I type...however a new Text layer appears in the layer manager. Doesn't matter how large I make the text...it does not show up. Tried rearranging the layers..every trick I could think of. Anyone else ever have this problem?? Any suggestions greatly appreciated! I really hope I'm just have a serious brain twitch here and that's it's not a PE issue. Never had this problem with any Photoshop programs on my PC...
    Thanks!

    Hi Barbara
    Thanks for your response. I am trying to add text to cropped and edited photos, they are 4x5 and 300dpi. I went ahead and tried increasing font size to 200, still nothing. I've tried all types of images, from my original raw versions to ones edited down to web size, to no avail.
    I'm beginning to feel like I'm banging my head against the wall :)

  • Problem with adding text area in scroll pane

    hi , i have been facing this funny problem , but cant able to get solution.
    the problem is i am trying to add text area in scroll pane , but when i add textarea in scroll pane using scrollpane.add(textarea) that text area remain disable always. i tried making it enable explicility but that code is not working.

    You don't use the add(...) method for JScrollPane. Use:
    a) new JScrollPane( textArea );
    b) scrollPane.getViewport().setView( textArea );

  • I saved a PDF doc in adobe and then added text to the form. But every time I try an email it it only

    I saved a PDF doc in adobe and then added text to the form. But every time I try an email it it only sends the original form without text. Once I've changed a doc in Adobe, how can I save it so that I'm able to use it with added text and notes? Also, I'm using a new iPad.

    If you are using those apps or websites, they are likely viewing the PDF using iOS' built in PDF previewing, which will not show annotations and markup to the PDF. We have informed Apple of this issue, but do not have any insight into whether or when they will fix it.
    Regarding the qustion about importing pictures, Adobe Reader does not provide any capabilities to import pictures into a PDF. To do this, you'll need to use Acrobat, available on your desktop computer.

  • Mail Merge script to replace any blank fields with specific text

    In InDesign Mail Merge I would like to replace any blank fields with specific text. For example if we have four fields (A, B, C & D) to merge, and field A is blank, it would insert field C.
    In essence leaving no blank fields but replacing a blank field with another specific field.
    I have read that inDesign does have Mail Merge limitations but if there is a script that we could run that would solve our problem.
    Please let me know if you can help?

    I take from the lack of response it is not possible to do this in InDesign.

  • When i add text to PDFs and work on the file for awhile, my red added text starts to turn into red X's with a box around them. I have OCRs turned off, i have the latest update, and i have registered the product. What is happening to my text while i'm work

    When i add text to PDFs and work on the file for awhile, my red added text starts to turn into red X's with a box around them. I have OCRs turned off, i have the latest update, and i have registered the product. What is happening to my text while i'm working on these files? On top of this, my red arrows get moved around also.

    Hi ,
    Could you please update me with few details like what version of Acrobat are you using?
    What OS do you work on ?
    Do you experience this any particular PDF or happens with all of them?
    Did you try the same with turning on the OCR ?Please check the same and compare the outputs .Does that help you in anyway ?
    If the file is not confidential ,could you please share the file with us so that we can analyse it our end and revert you with the appropriate answer .
    Please share the file on [email protected] and please cc [email protected] as well .
    Regards
    Sukrit Dhingra

  • Data merge with conditional text

    I'm new to InDesign scripting. Very new, in fact. I'm willing to learn, but my main motivation at present is to solve a particular issue. Surely this issue has come up before. I'd love to know if anybody has encountered it or if it is possible to accomplish through scripting.
    I want to merge data onto a gift pledge card. The exact text on the gift card will depend on the data being imported. For example, somebody who has given in the past will receive a message such as, "Thank you for your gift of $xxx." However, a person who has NOT given into the past will receive the message, "Please consider giving this year." The condition is the field prior_gift. If it's above 0, then the first message is displayed.
    This seems like a natural use for scripting, but, in my searches so far, I've found no references to using conditional text and data merges together in scripting. So, would this be a relatively simple task to accomplish?
    Thanks for any help you can give!

    the data merge feature with indesign only brings in text which was in the original data file itself - it doesn't know how to parse or interpret it to behave differently upon seeing certain results. that is, it doesn't run database queries such as if-else statements - it will only import text which was originally in the data file.
    however, there are plug-ins to indesign that CAN do this but they cost BOATLOADS. are you printing this yourself or are you sending this to a commercial printer? if the latter, have you discussed your print solution with the printer, as they may have a plug-in that can do this type of data merging, and all you would have to do is provide the printer with a packaged native file, along with the data and instructions as to what has to change... and for goodness sake see a proof of it!!!

  • Adding text to indesign pages with specific font ,size,and color using javascript

    Hello,
    Using javascript i am able to add some text to each page of an indesign file.
    myNewText = "SOME TEXT"
    myTextFrame = myPage.textFrames.item(0);
    tempframe = myTextFrame.contents;
    myTextFrame.contents =  myNewText + tempframe ;
    But i want to specify the font used,size and color for that text.
    When i try the code mentioned in indesign javascript scripting guide
    myNewText .appliedFont = app.fonts.item("Times New Roman");
    myNewText .fontStyle = "Bold";
    nothing gets changed and font family already used stays the same.
    How can i do that only for the added text and not for the whole content?I dont want to add the text to a new text frame I want to append it to the existing text frame.
    And is there a way to specify font size too?
    thank you

    There's a mixup going on here. Let's see if we can sort out some of it
    at least.
    If you just want to add new text to an already existing text frame,
    that's easy:
    myTextFrame.contents += "Hello";
    But if you want the new text to have unique formatting, it's a little
    more complicated.
    There are two simple ways to do it, I think:
    1. Create a temporary text frame, as you have done, and add the text,
    and format everything in there. Then move() that formatted text to the
    end of myTextFrame and delete the temporary frame:
    tempFrame = app.activeDocument.textFrames.add();
    tempFrame.contents = "New Text";
    tempFrame.paragraphs[0].appliedFont = app.fonts.itemByName("Times New
    Roman"); // etc...
    tempFrame.paragraphs[0].move(myTextFrame.insertionPoints[-1],
    LocationOptions.AFTER);
    tempFrame.remove();
    2. The other option, is to add the text directly to your textFrame. But
    if you want to format only that text, you have to store where the text
    started:
    myTextFrame = app.selection[0];
    firstInsertionPoint = myTextFrame.insertionPoints[-1].index;
    myTextFrame.contents += "New Text";
    myAddedText =
    myTextFrame.characters.itemByRange(myTextFrame.insertionPoints[firstInsertionPoint],
    myTextFrame.insertionPoints[-1]);
    myAddedText.appliedFont = app.fonts.itemByName("Trajan Pro"); // etc.
    What you've done in your sample script, however, is to try to apply a
    font to a simple JavaScript string. It won't work, but the way you did
    it, it won't throw an error either, because in fact you've created a new
    property of your string. (myString = "Hello"; myString.appliedFont =
    "Times"; // myString now has a Javascript property called appliedFont --
    but that's nothing to do with InDesign!)
    HTH,
    Ariel

  • Merge reports with external PDF

    I would like to know if it's possible to merge only with Reports a generated report with an external PDF. I already know about "File Link" object but it doesn't support PDF format, only images or text. It's even possible to embed an external PDF to somewhere in a RDF file? Or I have to merge it with an external tool? I've found PDFBox from Apache guys but then I'm forced to do some webservice between forms and reports, with all the inconveniences and security issues.
    Thanks in advance.
    Ricard Flores.

    I could provide source sample if anyone ask for it.That would be a good idea if you can post it here. This question has been asked before, so it is good to have a thread with an answer.
    I have done something similar before, with a Word document stored in the database and adding this doc as an OLE file format column to the report. I am interested how you solved it with PDF, though.

Maybe you are looking for

  • In Need of a good Notes App for taking Notes in Mathematics.

    I am a college student and do everything on my iPad now. I take notes on my iPad, but in math I need to draw my notes. Anyone else take math notes on their iPad 2? What app works best for you? I've bought three different apps and they are difficult t

  • DVD to Bluray Trade-In?

    When will the next DVD to Bluray trade-in be happening?

  • Profit center consolidate report - internal transactions

    Dear friends.. how the transactions occur between TWO profit centers (Inter company code transactions) can appear in consolidated statement. Actually these internal transactions can be eliminated from the statement because there is no effect in comap

  • JBoss connection pools

    hi. i just upgraded from jboss 2.2.2 to jboss 2.4.1 and now all of my connection pools are shot. here's my jboss.jcml: <mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider"> <attribute name="Drivers">org.hsql.jdbcDriver,

  • 20 g ipod not doing anything

    ok so today i pull out the ipod and go try and plug it in to update and it doesnt do anything and a battery icon comes up. i go and try to charge it in the wall.. and i thought it froze.. becuase i have had this problem before with freezing. so i res