How to make a handwriting font look like real handwriting in InDesign CS5

This is a script I've written (AppleScript) that addresses the  problem most handwriting fonts have — they look like fonts, mostly  because they're settled so regularly along the baseline and their glyphs  are so uniform.
It began as a way for me to address a  need for a project I was working on, something designed to look like a  scrapbook. I was using the "Journal" typeface designed by Fontourist  (http://www.dafont.com/journal.font), which gave me a good balance of  readability and organic feel, but of course it had the same issues as  all other fonts of its ilk.
To address that I wrote a  script to trawl the taxt frames in a specified CS5 INDD document,  looking fist to see if they had that font as their active one, after  which the script shifts each glyph up or down the baseline by a random  amount, gives each glyph a random stroke weight change, and finally  tints each glyph a random amount off of its basic tint.
Each  of these changes is very subtle, with the result being something that  looks considerably more organic and hand-made than the font did out of  the can. The script should be easily modified by anyone who wants to run  it using a different font instead of "Journal". Here it is. Enjoy!
-- This script changes the  baseline offset, stroke width, and color tint
-- of any type set in the "Journal" typeface to randomized values,  giving
-- the text a much more organic look and feel.
-- Written by Warren Ockrassa,  http://indigestible.nightwares.com/
-- Free to use, modify and distribute, but I'd prefer attribution.
-- Note that this script can take quite a while to execute with  larger
-- or more complex files.
set theItem to 0
set theItem to choose file with prompt "Select a CS5 InDesign  document to modify..."
if theItem is not equal to 0 then
     tell application "Adobe InDesign CS5"
         open theItem
         tell active document
             -- Determine how many text frames we need to change
             set myFrames to the number of text frames
             if myFrames is not equal to 0 then
                 set theFrame to 1
                 repeat until theFrame > myFrames
                     set myText to text frame theFrame
                     set myFont to applied font of character 1 of myText  as string
                     -- Check to make sure we're only modifying text  frames
                     -- that have been set in the "Journal" typeface
                     if word 1 of myFont is "Journal" then
                         repeat with thisCharacter in (characters of  myText)
                             -- Randomize the values of baseline shift,  stroke, and tint
                             set baselineShift to ((random number from -5  to 5) / 10)
                             set strokeWeight to (((random number 10)) /  100)
                             set myTint to (100 - (random number 10))
                             set fillColor to fill color of thisCharacter
                             set baseline shift of thisCharacter to  baselineShift
                             set stroke color of thisCharacter to  fillColor
                             set stroke weight of thisCharacter to  strokeWeight
                             set fill tint of thisCharacter to myTint
                             set stroke tint of thisCharacter to myTint
                         end repeat
                     end if
                     set theFrame to (theFrame + 1)
                 end repeat
             end if
         end tell
     end tell
     beep
     display dialog "Modifications finished!" buttons {"Groovy!"} default  button 1
else
     display dialog "Operation cancelled" buttons {"OK"} default button 1
end if

For the fonts, the really cheap and dirty method would probably be to load the names of the fonts you want to use into an array variable in the AppleScript, then get a random index count to grab one of the font names out of that array.
The script as it exists now goes character by character - you'd want to revise it so it went word by word instead, or else you'd end up setting each word's character to one of your random font choices. Instead of
repeat with thisCharacter in (characters of  myText)
you'd do something like
repeat with thisWord in (words of  myText)
As for loading an array variable in AppleScript - I've not done that before, but it's probably something like:
set myFontArray to {"Papyrus", "Arial", "Comic Sans"}
The curly braces are necessary, as it appears that AppleScript supports lists rather than arrays (a minor but not entirely unimportant detail). Anyway, from there, you'd grab one font at a time, randomly, probably like this:
set myWordFontNumber to random ( length of myFontArray ) - 1
  set myWordFont to item myWordFontNumber of myFontArray
You do the first line to get a random number based on the number of items in your list of fonts. You subtract 1 from it because the count on the actual list begins at 0 rather than 1, which means that sometimes you'll get a random number that's actually 1 larger than the number of items in the list, and you'll never see the first item (which is at position 0). This is a very old-school gotcha when working with arrays and lists - a ten-item list will count from 0 to 9, not 1 to 10.
From there, you'd set the given word in your text frame's font to the name of the font you pulled out of the myFontArray variable. You'll want to make sure that the font names you load into your list are the actual names of the fonts you're working with - the examples I used here probably won't work.
Please note that this is just a high-level gloss of what you'd need to do in order to modify the script. You'll have to hit the AppleScript documentation (and InDesign's scripting documentation) to get the precise syntax.

Similar Messages

  • Can someone tell me how to make the letters that look like fabric?

    Can someone tell me how to make the letters that look like fabric?

    pharrout wrote:
    Can someone tell me how to make the letters that look like fabric?
    It could be as simple as clipping an image of the fabric of your choice, to a text layer.
    In this example the Hessian texture was downloaded from Google images, and placed over a Type layer.  You then Alt (Opt) click the intersection of the Type and Hessian layer to clip them together.  This just means that only the shape of the underlying layer will show in the clipped layer.

  • How do I see what Fonts look like?

    I have been using Appleworks for the past 8 years and I am switching over to Pages. I miss the simplicity of the word processing tool bar of Appleworks particularly, the font selector which I was able to quickly see what the fonts looked like. Is there an easy way to replicate this with Pages or do I need to open up the FontBook and just use that?
    Thom

    Hi Thom
    To see what the font looks like go to Format - Font - show fonts. This gives you the font window. At the bottom left hand corner of the font menu there is a +, - and a flag keys. Click on the flag key and choose 'show preview'. A window comes up above the menu with sample of font chosen.
    Welcome to Pages,
    Clive

  • How to make a rasterized word look like it was written with dirt?

    Im trying to make an image where this word looks like it is written in dirt on the sidewalk.  Iv' already taken a pile of dirt and created a clip mask out of it but it doesnt look natural enough.  How do I do this so it looks realistic? And this is a graphic not font and I am using photoshop cs6. Thank you.

    I'll just add a little footnote to the above, while I'm thinking about it.  One problem with layer styles - especially complex ones like Bevel & Emboss, is that you have limited control of the different aspects of the effect.  I didn't use Bevel & Emboss in the above example because the highlights were too strong, and made it look wrong.
    A way round this is to right click the effect and choose 'Create layers'.  This breaks up the effect into one or more layers, so you can reduce, say, the highlight without effecting the shadow.
    I think if I was trying to do a stand out job, I'd use a finer font, so it looked like it had been drawn with a stick, and I'd use a combination of Bevel and Emboss layer style to get the depth, but I'd also use JJ's idea of a displacement map clipped to the text layer, to roughen the edges realistically, and add texture to the bottom of the indented text.
    An alternative is to find a suitable texture, and save it as a Pattern.  That would make it available to use as a 'Texture' in the Bevel Emboss sub options. The beauty of this is that the texture works very much like a Displacement map with depth and lighting effects.  In fact, I think that might be the easiest way to go about it.

  • How to make new tab page look like FF 32?

    How do I get the new tab page to use smaller tiles consolidated in the middle of the screen like they appeared before updating to FF 33?
    I find if much easier to work with the more compact placement of tiles. I understand that some users prefer larger thumbnails and find the scaled tiles to be beneficial, however, I find the older, more compact arrangement to work with.
    I already use the Classic Theme Restorer plug-in to get rid of the Australius UI "enhancements," as I find them distracting and inconsistent with my overall system configuration. In general, I like my UI to be compact, and usually prefer corners to the rounded elements that are becoming increasingly common design elements.

    Unfortunately, I don't think that there is an add-on that does specifically what you want. With the latest Firefox update, the number of tiles is now determined on screen size - if you zoom out or expand the window you can have more tiles appear.
    If you want to set a fixed number of tiles, you can do so with the following extension:
    * https://addons.mozilla.org/en-US/firefox/addon/new-tab-tools/
    You can also see '''jscher2000''''s Chosen Solution here: https://support.mozilla.org/en-US/questions/1025414
    It requires the [https://addons.mozilla.org/firefox/addon/stylish/ Stylish] add-on but will automatically shrink the tiles on the page:
    * https://userstyles.org/styles/106326/shrink-new-tab-thumbnails

  • Tutorials: How to make a digital photo look like an oil painting in CS3

    Can anyone point me to a tutorial that shows how to do this? I have looked all over the internet - but can't seem to find a decent way to do this and achieve the effect I want! Thanks for any help

    I have been looking for something to create this same effect in Photoshop CS2. With all of the filters that are already available in Photoshop, I am surprised that there isn't a filter available to easily do this.
    The "snapart" plugin looks great, but I don't want to pay $149 to create this effect.

  • How can I make my BlackBerry 8800 looks like BlackBerry 8900 or Bold?

    Hi again,
         Umm.. How can I make my BlackBerry 8800 looks like BlackBerry 8900 or Bold?
              Thanks....
    Solved!
    Go to Solution.

    Hey janvaughnquero11,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    The BlackBerry 8800 smartphone has 4.2 or 4.5 software as the latest.  BlackBerry 5, 6 or 7 device software is not available for that model.  
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • How should a professional business plan look like?

    Hi,
    How should a professional business plan look like?
    My teacher just gave me this sample business plan. Now, the content is alright, but what about the typography? I'm not sure, I'm not really a designer, but I do get the feeling it's not as beautiful as it could be. I take it a business plan should appear serious and controlled, almost conservative, as to show investors that you won't do anything stupid with their money. Also, I remember reading somewhere that the best typography is the kind of typography that goes by unnoticed (e.g. nothing fancy) as to not divert the reader's attention from the actual content.
    I don't know, what do you guys say?
    Thanks!

    Thomas Phinney wrote:
    Well, that is a serious, conservative layout, sure. I'm assuming the red text is instructions/suggestions from the teacher, and gets replaced by black text. Is that right?
    Is the purpose of the business plan to attract investors or convince a bank or something? If it was, I'd probably change the typeface selection so that it wasn't all in Times. Nothing radical, but maybe a slightly more flavorful sans serif for headings, and a serif body typeface with a tiny bit more character. Could be for example Frutiger and Baskerville. Still pretty restrained, just not identical to most of the business plans they see.
    But then again, I'm the guy who jailbroke his iPhone primarily to change the UI typeface, and asked the forum admins to change the default typeface here as well. So maybe I'm a little obsessive on this sort of thing.
    Cheers,
    T
    Oh yes indeed, it's for investors who go through hundreds of Times-based business plans every day. I really like the way you worded things there, "still restrained, just not identical to most of the business plans they see".
    Frutiger and Baskerville is a great suggestion! I'm open to more before I go ahead and buy myself a new pair of fonts though.
    Much obliged!

  • Please help : How to make the anomalistic table just like below?

    Hi all,
    How to make the anomalistic table just like below? Anyone can give the way detail or thoughtway ?
    http://61.132.17.188/webber/table.gif

    This is just a suggestion.
    If you put your "JTable" in a "JScrollPane", then you can add any "java.awt.Component" to the corner of the "JScrollPane" -- using the "setCorner()" method (of "JScrollPane").
    I would suggest making a custon "JPanel" and overriding its "paintComponent()" method to draw a diagonal line (and the required text) on it.
    You can find out more about how to do this from the links I provided in my first reply.
    Hope this helps.
    Good Luck,
    Avi.

  • Does Apple make a monitor that looks like the iMac27, for dual monitor setup?

    I'm thinking about buying an iMac, but I'm used to a multiple monitor setup. Does Apple make a monitor that looks like the iMac27, for dual monitor setup?

    Look at these links.
    http://store.apple.com/us/product/MC914LL/B/apple-thunderbolt-display-27-inch?fn ode=53
    http://store.apple.com/us/product/MC007LL/A/apple-led-cinema-display-(27%22-flat -panel)?fnode=53
    Allan

  • Greetings. I have finalized an Arabic Language brochure using indesign CS5.5. Once I opened it in CC 2014, I found Axtmanalblack font look like vertical rectangles crossed. Any suggestions?

    Greetings Dears.
    I have finalized an Arabic Language brochure using indesign CS5.5.
    Once I opened it in CC 2014,
    I found Axtmanalblack font look like vertical rectangles crossed. Any suggestions?
    Thanks.
    Tariq

    AXT fonts don't work well in new versions of InDesign. Your best bet would be to replace the font with a Unicode compliant OpenType font. I believe there are a few Arabic fonts that are included with InDesign that would work.

  • How to make content horizontal swipe in single standard frame in Indesign CS6?

    How to make content horizontal swipe in single standard frame in Indesign CS6?

    This sounds like a question for the DPS forum. We don't handle DPS questions here:
    Digital Publishing Suite

  • How do I get "Helvetica" fonts for free when I use indesign by the creative cloud?

    How do I get "Helvetica" fonts for free when I use indesign by the creative cloud?

    Yes, it is Pro, I did a look:
    The fonts are here (Acrobat XI Pro Mac as example):
    /Applications/[Adobe Acrobat\ XI Pro]/Adobe Acrobat Pro.app/Contents/Resources/Resource/Font
    Following Fonts are included:
    AdobeArabic-Bold.otf
    AdobeArabic-BoldItalic.otf
    AdobeArabic-Italic.otf
    AdobeArabic-Regular.otf
    AdobeDevanagari-Bold.otf
    AdobeDevanagari-BoldItalic.otf
    AdobeDevanagari-Italic.otf
    AdobeDevanagari-Regular.otf
    AdobeHebrew-Bold.otf
    AdobeHebrew-BoldItalic.otf
    AdobeHebrew-Italic.otf
    AdobeHebrew-Regular.otf
    AdobePiStd.otf
    AdobeThai-Bold.otf
    AdobeThai-BoldItalic.otf
    AdobeThai-Italic.otf
    AdobeThai-Regular.otf
    CourierStd-Bold.otf
    CourierStd-BoldOblique.otf
    CourierStd-Oblique.otf
    CourierStd.otf
    MinionPro-Bold.otf
    MinionPro-BoldIt.otf
    MinionPro-It.otf
    MinionPro-Regular.otf
    MyriadArabic-Bold.otf
    MyriadArabic-BoldIt.otf
    MyriadArabic-It.otf
    MyriadArabic-Regular.otf
    MyriadHebrew-Bold.otf
    MyriadHebrew-BoldIt.otf
    MyriadHebrew-It.otf
    MyriadHebrew-Regular.otf
    MyriadPro-Bold.otf
    MyriadPro-BoldIt.otf
    MyriadPro-It.otf
    MyriadPro-Regular.otf

  • The top bar changed when I downloaded firefox 5.o how do I get it to look like the old style? It also makes all my pages really zoomed out so I have to zoom in to see them.

    The new menu bar is all boxy looking and I want the old style back that looked like this http://images.six.betanews.com/screenshots/1100800989-1.png
    Also every time I visit a new page it makes it really small so that I have to zoom in to see it which is annoying because before I downloaded 5.0 it was fine.
    My computer is a toshiba laptop and I am using windows vista.

    Your original had tabs on top, the current one does not. Also I note a dark background, is that some none default theme or persona, or a side effect of system display changes ?
    I have noted others comment about pages needing zooming, no idea why that happens on some sytems, possibly something to do with the font changes.
    I do not notice much difference between versions screenshot attached Firefox 4 and Firefox 6.0a2 open adjacent to each other.

  • How can you see what the actual fonts look like in menu?

    In WORD - when you go to the menu bar to see the fonts, you'll see maybe a hundred of them - but you see them the list in the "actual" font style of each font! So in a few seconds you can actually "see" a hundred font types - makes it easy to quickly select which one you like.
    I can't seem to do this in FCPro 5.04. I must click each font from the menu bar - type a word and THEN I see what it looks like. VERY TIME CONSUMING if you don't know your fonts!
    Isn't there a way in FCPro se see all the fonts in a list in the actual "style" of each font - like WORD does? There's a haxie called "Fontcard" that does exactly this - but not in FCPro!
    Can anybody do this - or I'm dreaming here - just keep checking them out 1 font at a time!!
    Thanks,
    Larry

    Larry,
    If you're not in too big a hurry when using Title 3D, you can scroll through the font list. As you go from one font to another, the characters you have highlighted will show in that font. Other than that, I use FontBook to preview fonts quickly.
    -DH

Maybe you are looking for

  • IPod Nano Service

    I have an iPod Nano, 2GB, less than 2 months old. The problem is that if I plug in lanyard headphones, or earbuds, start a song, then touch the case below the scroll wheel, the song stops. I can restart the song playing and touch the case near the bo

  • PDF has missing text when created from FM 9

    My Software: Windows XP Professional Version 2002 SP 3 FrameMaker 9.0p255 Adobe Acrobat 9 Pro Version 9.4.1 When generating a PDF document from FrameMaker, the PDF document has random missing text, including whole paragraphs, sentences and some text

  • SunONE Web Server 6.1 SP7 crashes with Policy Agent 2.2 plugin

    Recently we started facing glibc issues on our webservers and wanted to know if any of you have come across such issues on your setups.. Setup Info: - OS is RHEL 4.0 - Sun ONE Web Server 6.1SP7 - Policy Agent 2.2 When user logins to our application f

  • Can't get videos to play from offline

    Hey, Every time I try to play Camtasia videos that I've downloaded to my files, I get a message saying I need to enable JavaScript (it is) and download the latest version of FlashPlayer (I have, roughly a thousand times). I'm on XP, my browser is Fir

  • I can't create group chat in messages using Bonjour connection

    Need help, please. I wanted to use messages for group chat while connecting under bonjour. I only able to chat private but not creating group. Anybody had experience this before?