Configure java environment to automatically use a font set

I am having trouble setting up my environment to use a font - like cyberbit. Specifically, I would like to be able to display Chinese/Japanese unicode data on my appliation - all I can view are boxes. I have installed the cyberbit font under ../jre/lib/fonts and have modified the file fontconfig.properties.src (dialog.x=Bitstream Cyberbit,DEFAULT_CHARSET and filename.Bitstream_Cyberbit=Cyberbit.ttf) and saved it as fontconfig.properties.

iWeb doesn't remember your default choice like that
unfortunately. Are you finding that you use the same
template pages though? If so, you can just
preconfigure one with your choice of fonts and text
sizes. Then just keep it blank and use it as your
"template" by 1) removing it from being displayed in
the navigation menu and 2) by duplicating the page
(select it in the organizer and right-click or
control-click to select "duplicate").
It's probably easier to just make the changes when
you want.
James, thanks, and hi. I will end up using the Photo Album and the Welcome templates the most. The Welcome templates I will use as top level theme hyperlinks to all of the examples of said theme.
iWeb is a lot of fun.
— Lorna in Southern California

Similar Messages

  • Use of Font Sets in CHM Navigation Pane

    Hi everyone.
    One of our product suites is going to be published for the first time using WebHelp Pro as its primary output but with a CHM file as a backup in case the client's internet connection fails or isn't present.
    To cut a long story short we have setup a font set to use with our Webhelp Pro output that allows for both Windows and Apple Mac fonts. We have applied this to all our styles and are looking at other places where it can be used (e.g. skins). One of these is the Navigation Pane to be used in the CHM file. It seems like you can not use a font set when defining the font characteristics of the TOC and Index in the Advanced options of the Microsoft HTML Help single source layout.
    I know this is not really a problem as CHM files are only designed to be run on Windows PCs and the Windows fonts we are using as part of the font set are 99.9% percent likely to be installed. However I am more interested in how the fonts inside the navigation pane works. The fact that you can't specify a font set (i've checked this in RH8 and RHX5) would seem to indicate that the font setting is part of the compiled file, rendering a font set unnecessary in this instance. Either that or it is an oversight.
    Read the RoboColum(n).

    Hi Colum
    I stand to be corrected on this. Perhaps Pete Lees will pop in to confirm or deny.
    I don't believe Font Sets are even necessary for .CHM files. As they are Windows only, I'm not sure Microsoft saw any need to provide for using them.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to configure Java Plug-In to use Firefox keystore

    Does any one know how to configure Java Plugin 1.5.0 to use the Firefox kesystore either in Windows or in Linux environments?
    I installed and configured 'JSS' based on the information available at http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/keystores .html.
    but still the plugin is not using the keys from Firefox keystore.
    I noticed the following messages in Java Console.
    security: Accessing keys and certificate in Mozilla user profile: null
    security: JSS is not configured
    Thanks

    I was having this same issue prior to installing the JSS on my machine.
    I did not compile my own version of the code, but rather I took the jss34.jar file and put it in a 'jss' directory.
    I also copied the jss3.dll and jss3.lib files into the directory where Firefox was installed.
    That was all I had to do to get JSS to work for Firefox 1.0.4 and Mozilla 1.7.8.
    If that still does not work for you, you always have the option to use the Java Plugin keystore instead of using the browser cache to authenticate certificates.
    You can do that by doing the following on the Java Control Panel:
    1. Click the 'Certificates' button on the Security tab
    2. Import the certificate as a 'User' certificate (Make sure you select the appropriate certificate type)
    3. Disable the 'Use certificates and keys in browser keystore' option under the 'Security' section of the 'Advanced' tab.
    I hope that helps.

  • "Use Local Fonts" setting seems to switch while viewing PDF

    I open up a pdf with no embedded fonts, and the text looks fine. Then after a few seconds of paging through the document, all of the sudden the next page is shown with adobe-substituted fonts like "Adobe Serif MM" instead of "ArialNarrow,BoldItalic".
    -Using Adobe Reader 8.1 on Windows XP pro, SP2
    -Using fairly standard fonts like ArialNarrow, plain, bold, and italic.
    -If I close Reader and open the document again, a few seconds later, I go to another page, and the fonts are fine again. This toggles back and forth each time I open Reader.
    -Italic fonts are especially heinous looking: instead of being slanted to the right a few degrees, they are slanted to the left about 45 degrees.
    -This seems to have started happening after installing some Windows Updates, but I'm not sure whether that is related.
    -I'd rather not use embedded fonts due to increased file size.
    -I create the pdf using a third-party app. Is there a way I can test the pdf to verify whether it was created correctly?
    -s

    This was kind of a confusing post now that I read it again - sorry.
    Anyway, I found the problem:
    Arial Narrow version 2.37 was messing everything up. I uninstalled that from my Windows Fonts folder, installed Arial Narrow version 2.35, and now everything looks great again.
    (I had to delete the font list and user cache too)

  • Can I set iWeb to automatically use my font/style/size?

    Is there a way to get iWeb to automatically set the font, style and size that I want to use in my iWebpage? I want to use Optima. I went to the iWeb preferences menu but it does not mention fonts.
    Last night I had to first delete all the examples in the iWebpage templates and then, thru the Fonts window, I had to click onto Optima, and then Regular, and then the size. I kept thinking about how lovely it would be if I were able to set some preferences from a different source and have the program automatically do overwrites in Optima.
    — Lorna in Southern California

    iWeb doesn't remember your default choice like that
    unfortunately. Are you finding that you use the same
    template pages though? If so, you can just
    preconfigure one with your choice of fonts and text
    sizes. Then just keep it blank and use it as your
    "template" by 1) removing it from being displayed in
    the navigation menu and 2) by duplicating the page
    (select it in the organizer and right-click or
    control-click to select "duplicate").
    It's probably easier to just make the changes when
    you want.
    James, thanks, and hi. I will end up using the Photo Album and the Welcome templates the most. The Welcome templates I will use as top level theme hyperlinks to all of the examples of said theme.
    iWeb is a lot of fun.
    — Lorna in Southern California

  • Why is getLineMetrics inaccurate when using device fonts* or immediately after resizing a TextField?

    1.  We need getLineMetrics to return correct values immediately after changing a TextField's width/height or any property that would affect the layout metrics, withouth having to alter other properties like setting the text to itself (p1.text = p1.text).  Currently, if you change the width of a text field to match the stage width for example, getLineMetrics will not return correct values until the next frame.... UNLESS you set the text property.
    2.  We also need some kind of "stage scaled" event in addition to the "stage resize" event (which only fires when stage scale mode is no_scale), because stage scaling affects the rendered size of device fonts so dramatically that we must call getLineMetrics again.  This is not the case for fonts antialiased for readability, since their size is relatively stable with scaling, as demonstrated by drawing a box around the first line once and then scaling the stage.
    So those are the problems.  The asterisk in the title of this post is there because it seem that TextField.getLineMetrics is accurate with device fonts, but I cannot take advantage of that accuracy without a way to detect when the player is scaled.  I can only confirm its accuracy at a 1:1 scale, since there is no way to recalculate the size of the line rectangle once the player is scaled, aside from setting a timer of some sort which is a real hack not to mention horribly inefficient with no way to detect when the stage has actually be scaled.
    I use device fonts because embedded fonts look terrible and blurred compared to device font rendering.  The "use device font" setting matches the appearance of text in web browsers exactly.  The only way to get embedded/advanced antialiased text in flash to approximate that of the device font look is to primarily set gridFitType to PIXEL instead of SUBPIXEL, and secondly set autokerning to true to fix problems caused by the PIXEL grid fit type.  That ensure strokes are fitted solidly to the nearest pixel, however it still lacks the "ClearType" rendering that device fonts use, which has notable color offset to improve appearance on LCD monitors, rather than the purely grayscale text that flash uses in its subpixel rendering.  Frankly, failure to use device fonts because of API issues, is the only reason why Flash sometimes doesn't look as good as HTML text and why people say text in Flash "looks blurry".  I'm tired of hearing it.  If the player simply dispatched an event when scaled and updated the metrics immediately when any property of the text field that would affect the metrics is changed, then we could all happily use device fonts and Flash text would look great.  As is stands, because of the two problems I mentioned in the opening paragraph, we're stuck dealing with these problems.
    If you create two text fields named "p1" and "p2" for paragraph 1 and 2, populate them with an identical line of text and set one to "use device fonts" and the other to "antialias for readability", then use this code to draw boxes around the first line of text in each of them:
    import flash.text.TextField;import flash.text.TextLineMetrics;graphics.clear();drawBoxAroundLine( p1, 0 );drawBoxAroundLine( p2, 0 );function drawBoxAroundLine( tf:TextField, line_index:int ):void{          var gutter:Number = 2;          var tlm:TextLineMetrics = tf.getLineMetrics( line_index );          graphics.lineStyle( 0, 0x0000ff );          graphics.drawRect( tf.x + gutter, tf.y + gutter, tlm.width, tlm.height );}
    The box surrounding the line of text in the "use device fonts" box is way off at first.  Scaling the player demonstrates that the text width of the device font field fluctuates wildly, while the "antialias for readability" field scales with the originally drawn rectangle perfectly.  That much is fine, but again to clarify the problems I mentioned at the top of this post:
    Since the text width fluctuates wildly upon player resize, assuming that getLineMetrics actually works on device fonts (and that's an assumption at this point), you'd have to detect the player resize and redraw the text.  Unfortunately, Flash does not fire the player resize event unless the stage scale mode is set to NO_SCALE.  That's problem #1.  And if that's by design, then they should definitely add a SCALE event, because changes in player scale dramatically affect device font layout, which requires recalculation of text metrics.  It's a real issue for fluid layouts.
    The second problem is that even when handling the resize event, and for example setting the text field width's to match the Stage.stageWidth property, when the text line wraps, it's not updated until the next frame.  In other words, at the exact resize event that causes a word to wrap, calling getLineMetrics in this handler reports the previous line length before the last word on the line wrapped.  So it's delayed a frame.  The only way to get the correct metrics immediately is basically to set the text property to itself like "p1.text = p1.text".  That seems to force an update of the metrics.  Otherwise, it's delayed, and useles.  I wrote about this in an answer over a year ago, showing how sensitive the text field property order is: http://stackoverflow.com/a/9558597/88409

    As I've noted several times, setting the text property to its own current value should not be necessary to update the metrics, and in some subclasses of text field, setting a property to its own value is ignored as the property is not actually changing and processing such a change would cause unnecessary work which could impact application performance.  Metrics should be current upon calling getLineMetrics.  They are not.  That's the problem.
    From a programming perspective, having to set the text property (really "htmlText" to preserve formatting) to itself to update metrics is almost unmanagable, and doesn't even make sense considering "htmlText" is just one of a dozen properties and methods on a TextField that could invalidate the layout metrics (alignment, setTextFormat, width, height, antiAliasMode, type, etc.), and I would have to override every one of those properties so that I could set htmlText = htmlText.  Using such a subclass isn't even possible if I want to use the Flash IDE to add text fields to the stage.  I would have to iterate over the display list and replace all existing fields with my subclass, which also isn't a good workaround because there's no way to update any and all variable references that may have been made to those instances.
    Frome what I've read, the invalide+render event system is unreliable.  My layout framework is similar to that of Windows Forms, and performs layout immediately, with dozens of docking modes and uses suspend and resume layout calls for efficiently resizing multiple child objects in a component.  Certain calculations cannot be aggregated for a render event, because some containers are semi-reflexive, meaning they can expand to fit the child contents while also contraining the child size, depending on whether the contain was resized or the child component was resized, so as a matter of correctness the resizing calcultation must occur immediately when the child resizes, otherwise a top-down pass on the display hierarchy for resizing will not be sufficient.
    As far as waiting until the next frame, no that is not possible, as it will cause one frame to be completely wrong.  If I was dragging the browser window to resize it, it would look terrible as virtually every single frame during the resizing operation would be incorrect.  Also, in the case where a user clicks the maximize or restore button of the web browser, the resizing event will occur exactly once, so if the metrics are not correct when that occurs, there is no recalculation occuring on the next frame, it will just be wrong and sit there looking wrong indefinitely.
    In case it's not obvious by now, this is a web application.  It uses the NO_SCALE stage scaling option, so notification of the event is not actually an issue for me personally.  I was just pointing out that for anyone not using the NO_SCALE option, there is no event in Flash to detect player scale.  What you're suggesting is using a JavaScript event and using the ExternalInterface bridge to send a message, which there is no guarantee whether it will be processed in a timely matter by the player and introduces possible platform inconsistancies, depending on whether the browser has actually resized the Flash interface at that point or what state Flash is in when it tries to recalculate the size of the text.  The browser may send that event to flash before the player is actually resized, so it will be processing incorrect sizes and then resized after the fact.  That's not a good solution.  Flash needs a scale event in addition to a resize event.  I'm really surprised it doesn't have one.  At the very least, the existing resize event should be dispatched reguardless of the stage scale mode, rather than occuring exclusively in the NO_SCALE mode.
    Bottom line is that getLineMetrics needs to return correct values every time it is called, without having to set the "text" property immediately before calling it.  If such a requirement exists, which seems to be the case, then that needs documented in the getLineMetrics method.

  • Showing bangla character in all types of java mobile using bitmap fonts

    i am a new user of j2me.but i cannot find any helps.
    i want to do english to bangla dictionary for all types of java mobile using bitmap
    fonts.
    initially how can i display bangla character using bitmap font in non unicode supported java mobile???
    but i cant do it.
    please send me source code or any helping resource.
    i am waiting for your reply.

    More info; installed mplayer2 which should work better with vdpau and this happened;
    VO: [vdpau] 800x468 => 800x468 Planar YV12
    [vdpau] Got display refresh rate 60.015 Hz.
    [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption manually.
    A: 6.3 V: 6.4 A-V: -0.000 ct: 0.000 0/ 0 1% 2% 0.2% 0 0
    [h264 @ 0xb6b41640]left block unavailable for requested intra mode at 0 23
    [h264 @ 0xb6b41640]error while decoding MB 0 23, bytestream (1111)
    [h264 @ 0xb6b41640]concealing 399 DC, 399 AC, 399 MV errors
    A: 6.5 V: 6.6 A-V: 0.000 ct: -0.000 0/ 0 1% 2% 0.2% 0 0
    Seek failed
    Seek failed
    Seek failed
    Seek failed
    Seek failed
    Seek failed
    Alot of those "Seek failed"!

  • Using Troy font in Java

    Hi,
    I am using the Troy fonts which I had installed from MICR by TROY (EX).zip like Troy CMC7 ,Troy Auto-Protect (screen).ttf Troy OCR-A (screen).ttf etc.
    We are developing a java program to generate .ps output based on the font settings selected using an user interface developed using C#. I am able to generate the .ps files using all fonts in windows other than
    Troy. But in the C# user interface I am able to see the preview with the
    respective Troy fonts (working fine) , and the font selections are
    reaching my java program , but when java generates the .ps file what
    ever text is marked using Troy font is not getting displayed in the .ps file.
    I tried setting text with Troy fonts in a word file and generated a .ps
    file which is too generating proper output. To get output ,. I am not using any physical printer but just opening the .ps file using a GhostViewer (GSView) and see how it appears. (the .ps generated using OKI C7400 v1.7 for XP virual PostScript printer).
    Can you please confirm whether if there are any limitations in JDK 1.4
    processing Troy fonts?
    Thanks in advance
    Kind Regards
    -joshy

    Hi,
    Here's an example..
    The code has not been tested/compiled.
    public class Example implements Runnable {
        private List queue;
        public Example() {
            queue = new LinkedList();
        public void post(Object item) {
            synchronized (queue) {
                queue.add(item);
                queue.notify();
        public void run() {
            try {
                while (true) {
                    Object item = null;
                    synchronized (queue) {
                        if (queue.size() == 0) {
                            queue.wait();
                        item = queue.remove(0);
                    // Handle the item..
            } catch (Exception e) {
                e.printStackTrace();
    }/Kaj

  • SQL Server Management Studio - Configuring the environment for first time use

    Hi
    I have recently switched my local 'My Documents' folder location to a network drive that I 'make available off line' to allow on-line/off-line work and synchronisation when I am working in and out of the office.
    When I load my SQL Server Management Studio 2005 I frequently get 'Microsoft SQL Server Management Studio is configuring the environment for first time use'.
    Management Studio  them loads and I can continue without problem.
    I am guessing it is trying to make reference to some settings file. Any ideas? I wonder if I can change/move these settings elsewhere to a local drive?
    Thanks

    Hi,
    There is bug report of this issue:
    http://connect.microsoft.com/SQLServer/feedback/details/126364/configuring-enviroment-for-the-first-time-every-time-in-ms-sql-server-management-express
    "SQL Server Management Studio Express saves the settings for the user in ...\Documents and Settings\<User Profile>\Local Settings\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    and in ...\Documents and Settings\<user profile>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    if any of these files are not available or unusable, SSMSE will generate new ones."
    Hope this helps.
    BR,
    JoukoK

  • How do I use a font I downloaded in my Flash game?  I downloaded the font as a TTF file, but can't figure out how to configure it.

    I downloaded the file from 1001freefonts.com
    I've looked at many tutorials about embedding custom fonts - I'm not sure what they are achieving, they never seem to have a step about importing TTF file or anything.
    Thanks!

    close flash pro.
    right click the downloaded font file > click install.
    start flash pro.
    among other ways to use that font, you should be able to find it in the properties panel when you select the text tool.

  • How to use MICR fonts in Adobe forms (webdynpro java

    Hi,
          We have a requirement where we need to print some MICR codes (for checks) through Adobe Forms.
    I have installed some true type MICR fonts in windows and Adobe Font Manager (in ADS) as well.
    It is visible in the Adobe Form design time (Font palette) and when I use the font for text, it is visible in preview too. But when I run the web dynpro application, in the online form it is converted into Standard font (Times new Roman).
    Is there anyway to handle this issue.
    Please let me know.
    I am using NWDS 7.0.1
    Adobe Live cycle designer 7.1
    SAP NW 2004s SP14
    Thank you,
    Vasu

    Check this forum post (though that is for 6i, it would be of helpful for you)
    How to use unicode fonts in Oracle forms 10g?
    -Arun

  • How to stop automatic pop-up window "Firefox wants to use the font "Stone Sans Sem OS ITC TT Semi"?

    Everytime I open Firefox I get the irritating pop-up window "Firefox wants to use the Font "Stone Sans Sem OS ITC TT Semi" on the volume, the font is not installed. I installed the font, but I still get it.
    The window gives me options "Do not ask again" "Show in Finder" "Don't Allow" "Allow".
    I click "Do not ask me again" and "Allow" but I keep getting this every time. How to stop it?! Thanks.

    See [https://bugzilla.mozilla.org/show_bug.cgi?id=567552 Bug 567552] – Fonts on External drive are activated by Firefox, and preference to not ask again is ignored
    please do not comment in bug reports

  • How to use unicode font in J2ME

    Hi,
    I want to create some mobile application using Unicode Font in J2ME.
    Please help me about how to use Unicode Font in J2ME and how to configure Unicode Font in J2ME SDK 3.0 Early Access

    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=001235
    http://www.linuxforum.net/chinese/develop/java.html
    Hope its of help to you.

  • How to configure java

    I'm using a smartcard to log in to a Citrix environment. I can configure Safari setting it to translate to IE 7, works okay. Want to use Google Chrome, seems faster, but I get a general authentication error when logging in through Citrix. For what I can follow, it appears Java may be blocking or Java is not configured properly. I downloaded Java 7, but it cause other errors (prevented me from loggin in to wireless network)- so I removed and returned to native Java loaded with Mountain Lion.

    Sorry, I forgot to include the question????
    How do I configure Java? I cannot find a Java console.

  • Replicating simple Java objects for automatic failover

    Is there a way to replicate a simple java object that is bound from JNDI
              across all servers so that if the primary server fails, it will
              automatically failover?
              We have a java client that uses JNDI to access EJBs on WLS5.1 SP8. In order
              to determine client information, the client currently binds a simple java
              class in the JNDI tree. The Entity and Session beans use the caller
              principal to locate the object in order to access client-information for
              such things as record locking, logging, etc..
              We have to move this architecture to a cluster environment and we are
              wondering how we can replicate this object across cluster servers so that
              failover is handled automatically, and that it is still accessible through
              JNDI.
              An RMI replicated stub is not enough, since it only works as long as the
              server hosting the RMI object is alive.
              I'd like to add that the object is created and bound at client start-up and
              destroyed at client exit.
              Thank you for any advice or information,
              Dania Kodeih.
              

    A: Replicating simple Java objects for automatic failover

    That's what I figured. I guess the only solution in this case is to persist
              the object during client sessions. I was hoping for something simpler, but I
              guess I'll have to create an Entity Bean and everything else that comes with
              it.
              Thanks,
              Dania.
              Cameron Purdy wrote in message <[email protected]>...
              >Unfortunately, when the originating server goes down, the replicated object
              >disappears.
              >
              >Peace,
              >
              >--
              >Cameron Purdy
              >Tangosol, Inc.
              >http://www.tangosol.com
              >+1.617.623.5782
              >WebLogic Consulting Available
              >
              >
              >"Don Ferguson" <[email protected]> wrote in message
              >news:[email protected]..
              >> If I am not mistaken, any serializable object will automatically be
              >replicated
              >> across the tree.
              >>
              >> Dania Kodeih wrote:
              >>
              >> > Is there a way to replicate a simple java object that is bound from
              JNDI
              >> > across all servers so that if the primary server fails, it will
              >> > automatically failover?
              >> >
              >> > We have a java client that uses JNDI to access EJBs on WLS5.1 SP8. In
              >order
              >> > to determine client information, the client currently binds a simple
              >java
              >> > class in the JNDI tree. The Entity and Session beans use the caller
              >> > principal to locate the object in order to access client-information
        �... [Show more]

    Read other 4 answers

Maybe you are looking for