Raster text achter

Hallo,

IK heb een script, Super altijd het prima alleen nu niet meer en ik weet niet waar of doing zit.

Het script works als volgt:

Select text > put bereken > place "buy" text een lijn puts als dikte put in zwart 25% > text links en right of 2 mm spring.

Komt er dan een 'rastervlak' can buy you expensive. Eenvoudiger dan first text Karl, kader recommand figurine met 25% en een van 2mm rondom [veel handelingen] insert

Said is het script [wat niet meer works ]

----------------------------------------------------------------

belowoffset = 5;

extra = 5;

oldvprefs = app.activeDocument.viewPreferences.verticalMeasurementUnits;

app.activeDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;

Y1 = app.selection [0] .lines [0] .baseline;

Calculate the height of the selected text = line weight\

y = app.selection [0] .lines [-1] .baseline - y1;

Compensate for the extra space\

LD = app.selection [0] .leading;

y = y + (ld == Leading.AUTO? app.selection [0] .pointSize * 1.2: ld) + extra bed;

var lastPara = app.selection [0] .paragraphs [-1]

lastPara.ruleBelow = true;

lastPara.ruleBelowColor = 'Black ';

lastPara.ruleBelowTint = 25;

lastPara.ruleBelowLineWeight = y;

lastPara.LeftIndent = 2 mm';

lastPara.RightIndent = 2 mm';

lastPara.ruleBelowOffset =-(y-belowoffset);

app.activeDocument.viewPreferences.verticalMeasurementUnits = oldvprefs;

----------------------------------------------------------------

Iemand een idea?

Hello

IK invites ITU script you voeren in het in mijn eind goed works. Of veranderingen die ik heb als Molfetta in van LeftIndent, RightIndent bloodstains leftIndent, RightIndent respectievelijk en en place. I code moet als deze worden:

belowoffset = 5;

extra = 5;

oldvprefs = app.activeDocument.viewPreferences.verticalMeasurementUnits;

app.activeDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;

Y1 = app.selection [0] .lines [0] .baseline;

Calculate the height of the selected text line thickness =.

y = app.selection [0] .lines [-1] .baseline - y1;

Compensate for the extra space.

LD = app.selection [0] .leading;

y = y + (ld == Leading.AUTO? app.selection [0] .pointSize * 1.2: ld) + extra bed;

var lastPara = app.selection [0] .paragraphs [-1]

lastPara.ruleBelow = true;

lastPara.ruleBelowColor = 'Black ';

lastPara.ruleBelowTint = 25;

lastPara.ruleBelowLineWeight = y;

lastPara.leftIndent = 2 mm';

lastPara.rightIndent = 2 mm';

lastPara.ruleBelowOffset =-(y-belowoffset);

app.activeDocument.viewPreferences.verticalMeasurementUnits = oldvprefs;

Hoop dat said zou helpen om uw clean op you lossen.

Tags: InDesign

Similar Questions

  • With the help of Photoshop CS6 how to convert raster to vector text?

    I submit work with text for a double cd. There is a picture with a text on a separate layer. I have converted the text because that's how I was told to convert the text to vector. Now, she's back saying text is raster and is printed blurry. How to convert raster to vector text? Thank you

    The only way you can keep the conversion raster vector is to save in Photoshop PDF format. Make sure you save without flattening and choose the option to keep the layers. Your only other option is to use Illustrator for the text and put the photoshop content in Illustrator.

  • Can I edit text Raster? [was: edit]

    I have a food menu with text created by another.  is it possible to edit the text?

    You are already in a position of compromise with a version of the frame of the text, which do not at all fine print.  You'll be OK with any graphic, but you really need cover on the existing text and do it again.  It will look much better when printing.

    However, this will depend on what end-use, you intend for the edition menu.  It is for professional use (restaurant, for example) or the occasional House?  It will be printed or online?

  • How to convert a raster graphics with only text layer in a text layer to make it editable?

    I want to change the text to a graphic layer, but can not. I was wondering how I could convert it into a layer of editable text? I don't know if this is possible, and if not, what are my other options? Thank you!

    Is not possible. You will find the same font and redo the text.

  • On-screen text is blurred, such as the old matrix printers; It gives me a headache: (-what should I do?)

    I started today - only - using Firefox, and the text I see on the screen is fuzzy, as in the old join the raster points. I would like to stay with Firefox, not least because I want (need!) use the spell check feature. But the resolution is far worse than I'm used with IE8: (.) What can I do?

    You can enable ClearType system wide for all programs other programs as Firefox to use it.

    XP: Control Panel > display > appearance > Effects: "use the following method to smooth edges of screen fonts".

    See http://support.microsoft.com/kb/306527 - HOW TO: use ClearType to enhance screen fonts in Windows XP

  • CP1525n: background color of text using PCL escape sequences

    Hi all

    I use the escape sequences PCL for printing the color of my text files.  I am able to print the plan text with color first.

    But now I want a background color for the different texts.

    Right now my code looks like this.

    < esc > E            Reset of the printer
    < esc > * r3U Simple colour: Palette RGB 3-plane
    < esc > * v1S foreground color (index = 1)
    Hello world

    Can someone help me with the escape sequence for the text background color. I use the simple color mode.

    Kind regards

    Hitesh

    A colored or shaded background (rather), you need to generate and set the background before writing the text.

    The background can be a raster-graphics image, or a filling of the rectangular areaor object HPGL/2, etc.

    Transparency of the Sourcesettings, transparency model and logical Operation (ROP) will affect how Source (what you are trying to add), Destination (which is already on the page) and Texture (combination of model and the current color ) are merged.

  • Add a little height to the text box in indesign?

    Hello!

    I have a big and nice script that applies the changes of height/width of a document based on the object styles, and other settings.

    But what I really need, is a script that comes Add a little height to a text box selected. It doesn't have to rely on the object styles and should only apply to a single box.

    I learn to program, but have no knowledge in javascript so far...

    Is it possible to shoot the script under?

    (Source: https://forums.adobe.com/thread/628574)

    setBoundsOfObjectsWithAppliedObjectStyle.jsx

    DESCRIPTION: change the settings of the applied with a certain style of object

    2010/02

    var doc = app.documents.firstItem ();

    var the_operator is ["absolut", "addieren", "multiplizieren", "prozentual scale"];.

    var r = get_param (doc.objectStyles.everyItem () .getElements () .slice (0), the_operator);

    var f_objects = get_objects (r.style);

    apply_values (f_objects, r, the_operator);

    function apply_values (the_objects, r)

    {

    for (var i = the_objects.length - 1; i > = 0; i--)

    {

    var f is the_objects [i] .visibleBounds;.

    If (r.op == the_operator [0]) / / 'absolut')

    {

    _y2 var = (r.height! = 0)

    ? Go [0] + r.height

    : gb [2];

    var _x2 = (r.width! = 0)

    ? GB [1] + r.width

    : GB [3];

    }

    Else if (r.op == the_operator [2] | r.op == the_operator [3]) / / oder "multiplizieren" "prozentual scale".

    {

    var the_div = (r.op == the_operator [2]) / / 'multiplizieren')

    ? 1

    : 100;

    _y2 var = (r.height! = 0)

    ? Go [0] + (gb [2] - gb [0]) * r.height/the_div

    : gb [2];

    var _x2 = (r.width! = 0)

    ? GB [1] + (gb [3] - gb [1]) * r.width/the_div

    : GB [3];

    }

    Else if (r.op == the_operator [1]) / / "addieren")

    {

    var _y2 = r.height; + GB [2]

    var _x2 = GB [3] + r.width;

    }

    the_objects [i] .visibleBounds = [[0] [1], _y2, _x2];

    }

    }

    function get_objects (a_style)

    {

    app.findObjectPreferences = null;

    app.findChangeObjectOptions.objectType = ObjectTypes.ALL_FRAMES_TYPE;

    app.findObjectPreferences.appliedObjectStyles = a_style;

    var the_result = doc.findObject ();

    app.findObjectPreferences = null;

    Return the_result;

    }

    function get_param (_styles, the_operator)

    {

    var style_names = new Array;

    Ausklammern von "CLX Raster []"

    for (var a = 1; a < _styles.length; a ++)

    style_names.push (_styles [a]. (Name)

    var min_width = 140;

    var field_width = 40;

    myDialog = app.dialogs.add var ({name: "Breite und Höhe von objects verandern"});

    with (myDialog.dialogColumns.add ())

    {

    with (dialogRows.Add ())

    {

    with (dialogColumns.Add ())

    {

    staticTexts.add ({staticLabel: "Objektstil:", minWidth:min_width});})

    }

    with (dialogColumns.Add ())

    {

    var myStylesDropDown = dropdowns.add ({stringList:style_names, selectedIndex:style_names.length - 1,:min_width}) minWidth;})

    }

    }

    with (dialogRows.Add ())

    {

    with (dialogRows.Add ())

    {

    with (dialogColumns.Add ())

    {

    staticTexts.add ({staticLabel: "Breite:", minWidth:min_width});})

    }

    with (dialogColumns.Add ())

    {

    var myWidthTextEditbox = textEditboxes.add ({editContents: "0", minWidth:field_width});})

    }

    }

    with (dialogRows.Add ())

    {

    with (dialogColumns.Add ())

    {

    staticTexts.add ({staticLabel: "height:", minWidth:min_width});})

    }

    with (dialogColumns.Add ())

    {

    var myHeightTextEditbox = textEditboxes.add ({editContents: "0", minWidth:field_width});})

    }

    }

    with (dialogRows.add ()) {}

    {with (dialogColumns.Add ())}

    staticTexts.add ({staticLabel: "operation:", minWidth: min_width ""});

    }

    with (dialogColumns.Add ())

    {

    var radio_buttons = radiobuttonGroups.add ();

    {with (radio_buttons)}

    radiobuttonControls.add ({staticLabel: the_operator [0], checkedState: true, minWidth: min_width});

    radiobuttonControls.add ({staticLabel: the_operator [1], checkedState: false, minWidth: min_width});

    radiobuttonControls.add ({staticLabel: the_operator [2], checkedState: false, minWidth: min_width});

    radiobuttonControls.add ({staticLabel: the_operator [3], checkedState: false, minWidth: min_width});

    }

    }

    }

    }

    }

    Ditto var = myDialog.show ();

    if(myResult == true)

    {

    var a_style = doc.objectStyles.item (myStylesDropDown.selectedIndex);

    var a_width = Number (myWidthTextEditbox.editContents.replace (', ','.'));

    var a_height = Number (myHeightTextEditbox.editContents.replace (', ','.'));

    var a_operator = the_operator [radio_buttons.selectedButton]

    If (isNaN (a_width))

    a_width = 0;

    If (isNaN (a_height))

    a_height = 0;

    myDialog.destroy ();

    }

    on the other

    {

    myDialog.destroy ();

    Exit();

    }

    return {style: a_style, width: a_width, height: a_height, op: a_operator};

    }

    var resizeItem = function(item, h) {
      const cs = CoordinateSpaces.INNER_COORDINATES,
      ap = AnchorPoint.TOP_LEFT_ANCHOR,
      rm = ResizeMethods.ADDING_CURRENT_DIMENSIONS_TO;
      item.resize  ( cs, ap, rm, [0,h] );
      }
    
    var h = new UnitValue ( "2mm").as("pt");
    resizeItem ( app.selection[0], h );
    

    Here you are

    Loïc

    www.ozalto.com

  • EPS - missing font in the vector but not raster

    I work with eps files and updated with the new text.

    When I opened in Illustrator it has a special character missing in each one (the degree symbol). But I can see it in the preview of the file. If I open the file an EPS in format raster in Photoshop, I see very well, but it is obviously not editable.

    I have all the necessary fonts, it does not say that all fonts are missing.

    Any ideas?

    Make a new file in Illustrator.

    Place (link) the EPS.

    Object > flatten transparency (check 'Text')

    I hope that it also works with EPS. He toured with PDF.

  • Fuzzy text - file Illustrator in Indesign (weird!)

    Hi all

    I created a map in illustrator which includes text labels.  I am placing it in indesign, but for some reason, a part of the text goes a bit strange!  I'll add a screenshot.  As you can see most of the text perfectly crisp, but some very strange.

    Can anyone help?

    S

    EPS contains a raster image as preview which is used for screen display. Only when you set the display to high res InDesign will use real vector data to calculate an overview high resolution.

    You can also go in the overlay for this preview.

  • Cannot convert Photoshop layer in editable text

    I already searched the Internet, but the answers are exactly what I need.

    I have a few PSD files that contain certain text, shape, fit and layers of the bitmap image. When I import to After Effects, all layers are converted to bitmap.

    When I call the command "convert to editable text" for layers that have been the text inside Photoshop, I get the following error:

    "After effects error: no compatible Photoshop text data has been found."

    (52:: 0) ".

    after effects error no compatible photoshop text data was found 52 0.png

    What should I do? I have already deleted the layer styles, checked blend modes, font type and so on.

    I got a solution. There seems to be a bug in After Effects.

    My PSD files have been named as 'mograph 01.psd', "mograph 02.psd", '03.psd mograph' and so on.

    When I import me a single file, for example, "mograph 01.psd", After Effects became layers in other PSD files, spoil the folder that it creates imported compositions.

    This was translated by raster layers generic without this icon for the imported Photoshop layers on the timeline.

    The solution was to let every single file inside a folder before you import it.

    I hope it may be useful to someone else!

  • in the edition browser doesn't let me change the text, why?

    If for some reason, it allows me to change the images but no text? any idea?

    If the font that you are using is a Muse system font will convert these text boxes to raster images to render properly in the browser. This is the reason why you can't edit them in BIE as these text are actually images now.

    You will need to use one of the following font to make it editable in BIE.

    • Standard fonts
    • Web fonts
    1. Typekit Fonts
    2. Edge of the Web fonts
    3. Gites hosted fonts

    Kind regards

    Vivek

  • My text is pixelated

    I inherited a project where the text (Myriad Pro) is hyper-pixelated; 100% resolution, you can see the real square pixels. If I go out of the area of the image, select the text tool again, retype it, it seems normal, but there is a lot of text. How can I select multiple blocks of text and change it with one action, rather than re - type all the. What menu item will change that?

    The rest of my image is NOT pixelated.

    Thank you

    Mike

    Mike,

    It seems as if the pixelated text is part of a raster image, to which cases you can't do nothing about it.

    Or, if it is selectable as an object, an effect is used. You can have a look at what it can be in the appearance palette.

  • Keeping text editable in Illustrator objects in InDesign

    I need to take the files that someone created artificial intelligence and convert them to CO-OPERATE.  This is a manual and for some reason, they have been designed with 10 files HAVE as well as 2 pages in each work plan.  So I need to create a book INDD, but I need the objects can be changed in the new files.  The function of site does not seem to do anything as important as a raster image.  The copy/paste function doesn't seem to work the text becomes described.

    Is it possible (without purchasing 3rd party software) to import the files HAVE in INDD with text to maintain its native editing capabilities?

    Lol place and use original edit in the menu when right clicking.

  • Problem with the text is pixelated

    Problem with the text is pixelated on iPad retina. You have a solution?

    Digital Publishing Suite 101: keep the text accurate in a Raster slideshow

  • DPS: Judge to use the parameter Raster or vector in the States of the objects when the majority of the page is a photo. What is the best setting for the overall performance?

    I am trying to decide whether to use the parameter Raster or vector in the States of the object when the majority of the screen is a picture (with a modest but important legend for children to read). The legend certainly makes it look more net as vector. But does the photo! The raster setting seems to make the lower-res images in comparison. In my first edition of my application, I thought that raster would be the best setting when the photo was the subject dominating the page. But now, after seeing how strong he looks like vector, (but with almost a refresh of the unacceptable time. Perhaps better on the latest iPad. Most of my readers/students in class will use iPad 2 s, which has a slower processor). I wonder if I should go through the trouble of changing States of photo objects that have the type as well to the vector. It doesn't seem to be as sensitive to a re - draw on the iPad 2 (non-retine)

    Is Filesize hit if I make about 1200 on these objects range from Raster to vector? (It is a huge, highly interactive history book, so I'm curious if acutally go to vector on these photos would reduce the size of the file) What is the best setting for the overall performance?

    I see the freeks screen outside for a bit if you try to pinch and zoom in a vector object (photo) vs raster. Which is disappointing. Does slow down load time/refreshment in frame, which is a little less. I also found that the drop shadows really bad that redraws effect in vector, almost vibrating in a slide show, for example. Thus, in cases where I need shadows, I'm sticking with Raster.

    All tips go ahead?

    Brian

    Does that help? http://boblevine.us/Digital-Publishing-Suite-101-keep-text-sharp-in-raster-slideshows/

Maybe you are looking for

  • Apple news missing app can't download it

    I have installed the app, I think I deleted it in iOS 9. Anyway, I wanted to try the new version of iOS 10, and I can't find the news application. I searched but could not find it on the App Store. I found the page of app news on Apple's site and cli

  • Drive not work in IE and saying failed to connect with fingerprint sensor

    Hi all I purchased a Qosmio x 500 10 t a couple of months back. For the first two weeks, I had no probs using the fingerprint reader to log on windows and connect to Web sites in Internet exploer. All of a sudden it would not work on any website that

  • Printing without the duplex printing accessory attached

    Hello Is it possible to remove printing accessory duplex (thing of type cartridge at the back) and still be able to print front? I tried to disable the option to double-sided printing and print without the accessory, but it did not work. By checking

  • scanning - too large files!

    I have a HP OfficeJet J6480 All In One - when I scan a text of the document in PDF format, the file size is huge - a single page is at least 600Kb to 150 dpi - which makes for too large files to send, if you analyze 10 more pages. Is there a setting

  • Unable to connect to the server on Money 2006 and have not changed the password

    Money 2006 can not connect.  The server is down?  I have not changed my passwd.  Help! Original title: Money 2006 cannot connect. The server is down. I have not changed my passwd. Can you help me