How do I change the spacing between letters of a FONT

I have a Jpanel that I am writing TEXT on.
I am using the graphics.drawChars(...) method, with a monospaced font.
I would like to "Squeeze" the letters together, to get more letters per line.
(still monospaced, just make them all 1 pixel closer to each other)
I tried calling the drawChars method for each character, recalculating the
x and y coordinates each time, but it is WAY TO SLOW.
If I call drawChars with the whole string, it defaults to the normal spacing of the font.
any ideas on how to do this?
Thanks
Steve
[email protected]

It is also a VT emulator that I am working on.
At first I was using DrawChar and updating a line at a time, but the customer does not
like the font (the biggest that fits on the screen) so I am trying to FORCE a larger font
onto the screen by squeezing the letters closer.
As soon as I went to calling drawChar or drawString for each char, the performance
dropped to unacceptable levels, since it is making 80 calls for each of the 24 lines,
rather then just one per line.
DrawChars calls DrawString, so the results from using them are the same.
I created my own FontMetrics, and changed the Width methods,
but the calls to drawString and drawChar seem to not use the font metrics.

Similar Messages

  • How do I change the spacing between lines in Pages 5.5.2?  Single spacing prints more like double spacing.

    How do I change the spacing between lines in Pages 5.5.2?  Single spacing prints more like double spacing.

    In the Format panel under the Text Style tab, there is a ▸ Spacing category. Click it to open, and you will have a selector that defaults to Lines, and to the right, the ability to set your spacing in decimal values. In addition to Lines, you also have At Least, Exactly, and Between capability. You can even set exact line height  in points. Check that your Before Paragraph, and After Paragraph settings are correct for your needs.

  • How do you change the spacing between lines of text?

    using Dreamweaver 6 how do you change the spcing between lines of text. Not seeing it as a option in the page properties menu.

    Try CSS line-height property.
    Kenneth Kawamoto
    [link removed by moderator]

  • How to Change the Spacing Between Bullets on a List

    I used to use Microsoft Expression and I could change the spacing between bullets on a list by formatting the paragraph and changing the spacing.  In Contribute I don't see how to do that.  I tried to Edit Roles under Administer Websites so it would be 2 lines after paragraph, but that doesn't help.  So if I want to increase the spacing between bullets on a list, how do I do that in Contribute?
    Steve

    Please log an Enhancement Request thrown, https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=9
    or make a suggestion for Contribute next.

  • I would like to change the spacing between the words for the product names, they look double spaced at present.

    A simple question I think, I would like to change the spacing between the words for the product names, they look double spaced at present. On the home page, and product pages. Not sure where to change this in the css here is the site; http://top10shop.businesscatalyst.com

    That site is using an old font technology called cufon, it uses canvas to draw the text into the font you want. Not really good for modern websites.
    It is what the font was and how it was made. I never used Cufon but the documentation is here - Usage · sorccu/cufon Wiki · GitHub At a glance there are no render options for the double spacing so I am guessing it was how the font was generated.
    I would scrap all of that completely tbh.

  • How do I change the spacing before or after a hard return in Pages 5.5.2?    I am working on an academic article and need to specify paragraph formatting (OS X Yosemite 10.10.2)

    How do I change the spacing before or after a hard return in Pages 5.5.2?    I am working on an academic article and need to specify paragraph formatting (OS X Yosemite 10.10.2)

    Hi Michele,
    Select the paragraphs where you want to change the spacing.
    Format Panel > Text > Spacing
    You can change 1.0 - Single to something else, or type a number in Before or After.
    Regards,
    Ian.

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • Is there a way to change the spacing between footnotes in Pages on OS Mavericks?

    I am trying to write a paper for a class I am taking but cannot seem to change the spacing between footnotes in Pages. Can anyone help me out with this?

    Yes.
    Click on the footnotes in Pages ’09 or v5.2.2.
    In Pages ’09, in the Document Inspector, there is a section called Footnotes & Endnotes.
    In Pages v5.2.2, a new Footnotes tab will appear.

  • How do I change the front end (letters) of my Cloud e mail address?

    How do I change the front end (letters) of my iCloud e mail address?

    You can't change an iCloud email address without creating a new account.  You can, however, create an @icloud email alias address that will receive email in your current iCloud inbox.  This article explains how: http://support.apple.com/kb/PH2622.  If you create an alias address, it can't later be used to create a new iCloud account, nor can it be moved to another account or reactivated should you ever delete it.

  • How can I shrink the spacing between the icons in the bookmarks toolbar?

    Hello everyone!
    I would like to open up some space in my bookmarks toolbar (also on the navigation toolbar if I can) by reducing the spacing between the icons. Is there any way to do this without the need of some third party program? If not, which one should I download?
    Curious thing is that a few days ago I did not have this problem at all, all my bookmarks were visible in the toolbar regularly, neat and tight. Now there is that boring guillemet sitting there at the corner...
    And this is the line where I thank you quite a bit for your interest towards my problem. So thank you very much:)
    With respect
    Arial

    You're welcome
    You can also remove the text labels with code in userChrome.css and if necessary adjust the margins as you like.
    Add code to the userChrome.css file below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.
    *http://kb.mozillazine.org/Editing_configuration
    <pre><nowiki>#personal-bookmarks .bookmark-item > .toolbarbutton-text {
    display:none !important;
    #personal-bookmarks .bookmark-item > .toolbarbutton-icon {
    margin:0px !important;
    padding:0px !important;
    </nowiki></pre>
    *https://developer.mozilla.org/en/CSS/margin
    *https://developer.mozilla.org/en/CSS/padding

  • How do I reduce the spacing between icons in Finder windows?

    Hi,
    I have recently changed the size of my icons to 32x32, and the icon text down to size 10 (default icon sizes looked way too big for my taste).
    What seems to be happening though is that all icons are spaced at the same distance than when they were the default size (48x48?) leaving vasts amount of white space in between them.
    Is there a way I can change that setting so all icons are closer to each other, not wasting so much empty space?
    Thanks,
    Julian

    In the Format panel under the Text Style tab, there is a ▸ Spacing category. Click it to open, and you will have a selector that defaults to Lines, and to the right, the ability to set your spacing in decimal values. In addition to Lines, you also have At Least, Exactly, and Between capability. You can even set exact line height  in points. Check that your Before Paragraph, and After Paragraph settings are correct for your needs.

  • How do I change the contrast between foreground and background in CS4 workspace menus?

    Everyone at my agency who has upgraded from CS3 to CS4 is dismayed to discover that they can not read any tabs on the workspace except the highlighted one. The foreground and background colors are simply too close together for anyone who doesn't have very good eyesight to use 8 hours a day, and if you have any form of color blindness, just forget it. Is there any way to change the foreground and background colors in the workspace itself?

    I don't believe it's possible.  It would be like altering the ribbon in Office 2007 to make it work like Office 2003. This is a built-in function and from the upcoming betas in the Labs it appears they are going to continue this trend.  Only thing I can really suggest you do is submit a feature request: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform .  Outside of that there is not much you can do.
    One other thing has come to mind but it only works for the document area and not other menus.  Instead of opening documents in the tabs in one window you can click on Window at the top and choose Cascade to view each file in its own window and go back to Expose for fast-switching between windows.

  • How can I set the spacing between lines in my document?

    I am trying to set the spacing in my Pages document. It looks like it is using a space and a half and I would like to change that to just a space.

    More Pages users will see your topic if you post in that community >  Pages: iWork: Apple Support Communities
    And a Pages user manual to refer to >  manuals.info.apple.com/MANUALS/0/MA524/en_US/Pages_UserGuide.pdf

  • How do you change the address bar to a larger font?

    All font in the address bar and various windows seem much smaller. I went in to general preferences and chaged some font details, but it doesn't seem to affect the address bar. Is there any way to change the size?

    When you go to a website and enter a username and password that haven't been saved, Firefox will ask if you want them remembered. This question appears in an arrow panel connected to the key icon on the address bar.
    If you click on other things, or switch tabs, then the question will disappear. But as long as you remain on the same web page, the key icon will remain visible so you can bring it up again manually.
    * [[Password manager - Remember, delete and change saved passwords in Firefox]]
    If you haven't saved your Gmail username and password, and you're not promted to remember them, see the following article.
    * [[Usernames and passwords are not saved]]

  • How do you change the FILE "print code" resulting printed font size?

    I would like to adjust the "Print Code" resulting printed document font size. Though the changes can be made in display font for the Code window via a file or the Preferences Menu, I cannot find the style information to change the Print Code.
    Thanks

    Thanks again for your reply.
    I would like the code print out font to be a smaller size. Currently, it ls printing at 12 pt Monaco ( I can emulate this exactly by printing the same document in an editor set as Monaco 12pt ).  However, the settings (see below) are set at Monanco 9pt. This works on the screen, but not for printing.
    http://goo.gl/eXhnz   > screenshot of Setting show "smallest".
    Yet the code:print gives me more characters per line, resulting in  many more pages per printout. The "print preview" shown in my last message is exactly what the printed page looks like as well.
    NOTE: with the same settings ("smallest Monaco 9pt), Dreamweaver CS3 on OSX *does* code:print the smaller size, though without color coding. Dreamweaver CS 5 on my system does not.
    Thank you.
    Jay

Maybe you are looking for

  • HT201363 I can sign in on a computer to iCloud and iTunes but not on iPhone 5

    I tried to update new iOS version but sign in failed 3 times with correct password. I had just installed an app about 4 hours prior. Tested loggin on from comouter to iCloud and iTunes and was successful, so same ID and password should work. Also res

  • Can't copy files to server folder

    I'm running Windows 7 Enterprise and need to copy the contents of a CD to one of our W2003 servers.  I have a shared folder on the server so I start copying files from the CD, to this folder.  Part way through the copy it says "You need permission to

  • Parsing Non English characters from OPEN DATASET

    Hi Team, I'm try to download the .txt file using the OPEN DATASET in the windows environment from application server, system language is set up for English. The problem is, in the .txt file some times I will be getting the non-English characters (Spa

  • After Effects CC 2014 Playhead Brackets "]|[" With no Keyframe

    Has anyone else noticed how much harder it is to see highlighted keyframes in conjunction with the playhead in the latest update of AE? The brackets on the non-keyframed layers just blend right in. In previous versions of AE, the brackets were highli

  • Use of memory card w/Z31

    I recently started using my Z31 and am curious about the memory card feature.  For what have people used this memory feature?  What software might be needed, if any, to use an application that might use the memory card?  What is the max memory card s