Font differs from Linux and Windows ?

Hi, i just want to ask, are fonts different from windows and linux in applet. I use a standard courier font.
For example, if i make an applet with courier font texts in linux, and make the texts wrap themselves, they will run ok in linux. But if i run the compiled applet in windows, the wrapped text somewhow got truncated.
But if i compile the applet in windows, it will look ok in linux and windows.
I've tried replacing my courier fonts in my /usr/java/jdk/jre/lib/fonts/cour*.ttf with the cour*.ttf from c:\windows\fonts with no effects .. Applets compiled and run ok in linux doesnt work in windows. They must be compiled in windows to run ok in both.
Why is that ?
Does the compilation use the fonts in the jdk lib or the system fonts ?
I'm so confused T_T
Please Help

How do I get Mac OS 10.4.4 and Word X for Mac to see
all the characters in the Word for PC document
formatted in Times New Roman?
There's no way with Office X, which can't do Unicode Greek. You need to upgrade to Office 2004 which is Unicode-savvy and installs in your Mac the same Times New Roman with Greek, Cyrillic, Hebrew, and Arabic which is used by WinXP. An alternative might be AbiWord or NeoOffice/J.

Similar Messages

  • CD different for Linux and Windows

    I have in hand a very strange CD. This is an (old) CD with drivers for a Samsung printer. The CD has drivers for Linux and Windows. But if I mount the CD in Linux, I see only the Linux driver and if I access the CD from Windows, only the Windows drivers are seen. How they can do that ? How can I mount in Linux the CD in order to see the content seen from Windows ?

    In Windows ( DIR D: )
    Le volume dans le lecteur D s'appelle SAMSUNG_LBP
    Le numéro de série du volume est C432-A954
    Répertoire de D:\
    28/02/2005 00:53 <REP> ACROBAT_READER
    26/10/2004 06:11 740 AUTORUN.INF
    28/02/2005 00:53 <REP> DATA
    28/02/2005 00:53 <REP> ML-1610
    28/02/2005 00:53 <REP> Manual
    09/12/2004 03:55 11 219 SETUP.DAT
    20/09/2004 07:29 270 336 SSAuto.Dll
    17/09/2004 08:03 253 952 SSEtc.dll
    22/09/2004 11:09 225 280 SSFcs.dll
    12/03/2004 05:59 1 622 016 SSRes.dll
    17/09/2004 08:04 155 648 SSTtp.dll
    26/10/2004 05:42 307 200 Setup.exe
    28/02/2005 00:54 <REP> USB
    8 fichier(s) 2 846 391 octets
    5 Rép(s) 0 octets libres
    In linux (ls -l -F /mnt/cdrom)
    total 44
    dr-xr-xr-x 22 root root 4096 Feb 28 2005 Manual/
    -r--r--r-- 1 root root 2555 Feb 28 2005 README.txt
    -r-xr-xr-x 1 root root 51 Feb 28 2005 autorun*
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 bin/
    dr-xr-xr-x 8 root root 2048 Feb 28 2005 cups/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 data/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 help/
    -r--r--r-- 1 root root 8517 Feb 28 2005 icon.xpm
    dr-xr-xr-x 9 root root 2048 Feb 28 2005 locale/
    dr-xr-xr-x 2 root root 6144 Feb 28 2005 misc/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 ppd/
    dr-xr-xr-x 2 root root 2048 Feb 28 2005 scripts/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 setup.data/
    -r-xr-xr-x 1 root root 6603 Feb 28 2005 setup.sh*
    ouput of isoinfo -d dev=dev/sr0 (in linux)
    CD-ROM is in ISO 9660 format
    System id: LINUX
    Volume id: SAMSUNG_LBP
    Volume set id:
    Publisher id:
    Data preparer id:
    Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
    Copyright File id:
    Abstract File id:
    Bibliographic File id:
    Volume set size is: 1
    Volume set sequence number is: 1
    Logical block size is: 2048
    Volume size is: 239152
    Joliet with UCS level 3 found.
    SUSP signatures version 1 found
    Rock Ridge signatures version 1 found
    Rock Ridge id 'RRIP_1991A'
    If I use on Windows the Windows port of cdrtools; then these tools behave as in Linux, showing me the Linux contents. In Linux I can also mount -t udf and then I see:
    total 32
    -rw-r--r-- 1 root root 32768 Feb 28 2005 Desktop DB
    -rw-r--r-- 1 root root 0 Feb 28 2005 Desktop DF
    drwxr-xr-x 1 root root 22 Feb 28 2005 Manual/
    This was for a Samsung ML-1610 B/W laser printer. This is crazy.
    @lolilolicon That explain the result when I mount -t hfs. But the difference in Linux and Windows remain mysterious. How Windows "mount" the CD? I believed it was the equivalent of mount -t iso9660 in Linux but apparently, it is not.
    Last edited by olive (2011-09-08 12:12:16)

  • Applet font problem between linux and windows

    I just want to share my experience in several project i've taken part.
    In some projects, where all are developed under linux environment (suse 9.2),
    we use jasper report for report generation and use the web applet for our clients to print.
    They print ok in linux env, with the netscape 7.1, courier 10 font and jvm 1.4.2_06b version.
    But when accessed from windows env, with the same browser and the same jvm version, the applet and the print out are different from those of lin env. The headers and footers are missing. When the we edit/lower the header and footer size at the jasper report file, then they appears @ the window env.
    So strange that the font handling between win and lin differ (still my assumption). I'vent been able to solve this problem totally since the client must stick with one OS else the print out will be different.
    Quite dissatisfied, coz i really think i could code once the report and run it anywhere in the applet and behaves in the same way.
    Could anybody help ? T-T
    Regards,
    Albert Gan

    hi!
    this is my first post and i would like to ask if how did you create the web applet printing. im totally new to java and i dont know where to start.
    i hope that you can guide me or give me some instructions. thanks in advance =)

  • MySQL TinyInts: Different in Linux and Windows?

    Hi all,
    A friend of mine has used MySQL 4.1, Creator 2.1 and MySQL Connector/J (3.1.8) to build a web application in a Windows environment.
    I am trying to open it on my Linux box but I get a ClassCastException while opening his web pages into my Creator.
    We have been tracking down the problem and it seems that Creator 2.1/Linux thinks that TINYINT(1) is of type Integer. On the other hand Creator 2.1/Windows maps TINYINT(1) to Boolean.
    We have tried out all possible combinations (Creator-Linux -> MySQL-Windows, Creator-Linux->MySQL-Linux, even tried out different JDBC driver versions) and it seems the problem is somewhere within Creator.
    Any ideas? Has anybody experienced this problem?
    Thanks,
    Antonio

    By the way. NetBeans 5.0 behaves different to Creator:
    NetBeans 5.0:
    jdbc:mysql://localhost/MYDB?tinyInt1IsBit=true
    -> TINYINT(1) -> BIT
    jdbc:mysql://localhost/MYDB?tinyInt1IsBit=true
    -> TINYINT(1) -> TINYINT
    Creator 2.1:
    jdbc:mysql://localhost/MYDB?tinyInt1IsBit=true
    -> TINYINT(1) -> TINYINT
    jdbc:mysql://localhost/MYDB?tinyInt1IsBit=true
    -> TINYINT(1) -> TINYINT
    As far as I understand, Creator 2.1 is not processing the connection metadata correctly. Is this a bug? Is there a fix for this?

  • Synchronize my media from Linux and Windows shared locations with iTunes to iDevices?

    Hello.
    Is it possible for an updated 32-bit Windows XP Pro. SP3's iTunes to synchronize/import my MP3, OGGs, WMA, videos, etc. from network shares (Samba with Windows and Linux)? Or do I have to copy all the files (huge!!) to the local HDD for iTunes? I just got a iPod Nano (6th generation and 8 GB). I keep all my media in one location for all computers and devices to share.
    Thank you in advance.

    Hi again.
    Thanks all. It looked like I was able to get iTunes to show my almost 11 GB of songs (5.5 days to listen to all). Some of the WMA were converted. Obviously, a few OGG files weren't. It took a long time to finish (ran it overnight). I was able to synchronize most of them to my iPod Nano even though it only can hold about 7.25 GB of it.
    Is it me or is adding new songs tricky? I even told the new iTunes installations to scan for media, but they didn't do anything. I did this with two different updated Windows XP Pro. SP3 machines. I had to drag and drops my music into iTunes' playlist (new one). Weird.

  • Client copy between clients having different OS(Linux and Windows)

    Dear All,
    I would like to do client copy between a client in development system having Linux OS and a client in sandbox system
    having Window OS.
    Is it possible?
    Regards,
    Vinod

    You can get more info at ::*
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/69/c24c0f4ba111d189750000e8322d00/frameset.htm*
    & also check note 552711 which clearly say at point no 5 .*
    5. Can I create client copies in a heterogeneous system landscape?*
                  Remote copies or client transports can also be carried out between different database and operating systems.*
    Please close thread if you feel your question has been answered.*
    Thanks..
    Mohit
    Do NOT post in bold.... 2nd warning.
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on Aug 27, 2009 12:07 PM

  • Different stringWidth between Linux and Windows

    When I use Ms Windows Arial Font in my Java Program running on Linux
    I found out the rendering result of the Font is different with same program running on Windows
    The Arial Font in Linux become wider, and this cause problem because i used absoule position.
    I am using Java 1.3.1, How can solve this problem??

    The Arial under Linux and Windows are not the same. Firts, they may be different font files, second, both systems uses different rendering engines to draw them. Also, some systems, as mine, won't have Arial font at all - substitute font will be used then. So, I would expect, you will have similar problems with any other font, any other operating system or even in some specific locales which uses reversed (right-to-left) line ordering. You will also be not able to do internationalization properly.
    Simply your application is not portable and written with breaking may portability rules. I hope, you are not doing it for money. The layout managers is the only existing aswer to your problem. The closest to absolute is a SpringLayout introduced in 1.4.x.
    The absolute location problem is not a bad thing in Java only - it can screw C, VisualC and CBuilder applications. Take some of them and tweek your system settings - use large fonts for buttons, tiny fonts for menu, change whatever OS provides you to be able to change in L&F and look what will happen with some of those applications. I would be really happy to have layout managers in CBuilder.
    regards,
    Tomasz Sztejka.

  • File Upload Problem from Linux to Windows and Windows to Linux

    Hi,
    I am a newbie in the flex environment.
    I have faced a problem for file upload from linux to windows and windows to linux
    And I have put crossdomain.xml file in root folder, still this problem is appear.
    Please help me, if anybody know the answer.
    Thanks and Regards,
    Senthil KUmar

    Hi Pauley,
    I thought you are moving from unix to windows. Now I got it.
    Make sure that the folder is shared and have necessary permissions. Please see few suggestions here:
    Re: NFS or FTP for file on Ip 10.x.y.z
    Regards,
    ---Satish

  • How to set owner-only access file permissions both on Linux and Windows

    Hi everybody.
    I have the following problem. I need to store some private user information in file system. So I need to set owner-only access permissions for some directory in user home. I did not find API for doing this. As I understand this is platform specific thing. Could anybody tell me how can I do this both on Linux and Windows?
    Thank you in advance.

    More ideas just came back to me (of something I did before)
    Each OS requires a different control.
    For Windows you will need to set the .policy file for each user (a pain if you have more than a dozen of clients) granting access (R or RW) to files/directories.
    Then you have to write some native code (access via JNI) to access/modify your authorization.
    A more professional solution that I used was J-Integra (other similar tool exist).
    Basically it is a bridge between Java and COM. It magically give you access to the COM API from Java (and vice versa).
    In my case it was to read/write/modify Winword documents transfered between PC and server.
    From memory you have to run the com2java.exe to build the bridge (classes in Java language) between the 2 families. Compile those classes and you have a "driver" for the COM (Microsoft Objects).
    Here I must confess my ignorance on Microsoft.
    Those COM objets must give you some easy/integrated access to the API for LDAP or Microsoft Active Directory Service (for centralize control with more complex setup).

  • Oracle DB sessions on Linux and Windows

    Actually I am confused the way session memory is allocated on 32 bit windows and linux OS.
    Windows is a thread based architecture where all user sessions are treated as threads of oracle.exe process. The addressable space is 4GB and oracle.exe can use up to 3GB in case you use /3GB switch in boot.ini file. It means that combined size of SGA ,PGA and other memory structures can not be more than 3GB. When a session gets connected with a database a PGA is allocated. It means that memory required by database sessions also comes from the 3GB limit. If your memory usage goes beyond 3GB you wont be able to connect new sessions with database or you would require to reduce the size of one of your SGA components.
    Linux is a process based architecture where each user session is treated as a separate process and has its own addressable space. Even on 32bit linux the addressable space is 4GB i.e. 2GB for process and 2GB for kernel. It means we need to accommodate our SGA and PGA in the 2GB limit (there are ways to increase the size of SGA but let assume we are doing nothing to raise the 2GB limit).
    As PGA is allocated for every session when it connects with database.
    My question is how PGA memory is allocated against a database session on linux.
    To further clarify my question I am stating the results of an experiment that I did on linux and windows.
    On windows I set the total size of SGA to 1730M and PGA aggregate target to 1024M. I was able to able to startup the database instance without any issue. Then I started connecting sessions with the database and even ran a query doing a heavy sort in one of the sessions but after connecting 10 sessions with DB I started getting ORA-12500 TNS Listener failed to start a dedicated server process error on windows.
    Then I did the same experiment on Red Hat Linux. SGA size was 1633MB and where as PGA aggregate target was only 10MB. I was unable to start instance when I set the SGA size more than 1633MB.
    With that setting I was able to connect more than 200 sessions with database inspite of running query doing heavy sort in 4 sessions without getting ORA-12500 error. I was even able to connect more than 400 sessions with database after setting PGA aggregate target to 1GB on Linux.
    Now my confusion is why linux was able to handle more DB sessions. I know it’s a process base model and each session is a separate process and has its own addressable space but as PGA is allocated against every session and PGA memory comes from 2GB limit then why PGA memory did not exhaust on linux. Is PGA allocated differently on linux as compared to windows?

    Perhaps the problem is easier to understand if you leave PGA_AGGREGATE_TARGET out of this issue completely.
    The out of memory problem you had, has nothing to do with PGA_AGGREGATE_TARGET setting directly. The difference in number of processes comes from architectural differences in how Oracle uses memory in windows vs unix.
    On windows the SGA + ALL PGAs must fit into one 4GB address space (in practice even smaller as youve noticed). This is because there's only one process, oracle.exe. One process = one address space.
    On Unix, you have many processes and every process can use portion of their own address space for PGA.
    So, on windows (32bit) you run out of address space for the single oracle.exe process. On unix you dont hit this limit just because the number of processes grows (but if some process wants to use a lot of PGA memory, then they eventually run out of address space (talking about 32bit again))
    On unix you probably ran into another limit - amount of total usable virtual memory (RAM+swap) available in your system
    Tanel Poder
    http://blog.tanelpoder.com

  • Error in Transport Tablespace from linux to windows

    I am testing the cross-Platform Transport Tablespace. As per the oracle, we can transport tablespace from linux to windows without conversion because both are using same endian (Little).
    But i am fail to do Transport Tablespace from Linux to Windows.
    I am performing Transport Tablespace process as following:
    from Source Oracle Database server(red had linux as 4 32-bit oracle version:10.2)
    Sql> alter tablespace TEST read only;
    $ expdp system/pass dumpfile=test.dmp directory=export_dir transport_tablespaces=test transport_full_check=y
    after this i am coping test.dmp and data file (test.dbf) to the target machine (ms windows xp 32-bit with oracle 10.1) .
    on Target Machine (with Ms windows xp os) here i am giving the following command:
    impdp system dumpfile=test.dmp directory=exp_dir transport_datafiles=/exp_dir/test.dbf
    but it is giving following error:
    ora-39001: invalid argument value
    ora-39000: bad dump file specification
    ora-31619: invalid dump file "c:\pks\1103.dmp"
    what may by ...
    Prabhaker

    now for version compatibility i am inclusding version option with expdp
    edpdp scott dumpfile=1103.dmp directory=pks transport_tablespaces=prabhu version=10.1.0.2.0
    but now it is giving following error:
    Import: Release 10.1.0.2.0 - Production on Saturday, 11 March, 2006 19:07
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SCOTT"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    Starting "SCOTT"."SYS_IMPORT_TRANSPORTABLE_01": scott/******** DUMPFILE=1103.DMP DIRECTORY=PKS TRANSPORT_DATAFILES=C:\PKS\PRABHU version=10.1.0
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    ORA-39123: Data Pump transportable tablespace job aborted
    ORA-06550: line 2, column 2:
    PLS-00306: wrong number or types of arguments in call to 'BEGINIMPORT'
    ORA-06550: line 2, column 2:
    PL/SQL: Statement ignored
    Job "SCOTT"."SYS_IMPORT_TRANSPORTABLE_01" stopped due to fatal error at 19:07
    regards
    Prabhu

  • File Transfer from LINUX to WINDOWS....?

    I have to copy the auto backup .dmp file from Linux to Windows in Same Network. Can You please suggest me how to do this task through Shell Script.
    So i can schedule the running time of Shell script through DBMS_SCHEDULER and at that specified time files will copy successfully....
    Please help me...Thank you.

    Rajnish,
    Check this link :  Scripting and Task Automation :: WinSCP
    Command-line Options :: WinSCP
    Converting Windows FTP script to WinSCP SFTP script :: WinSCP
    Onkar
    Message was edited by: onkar.nath

  • Why we have separate azure java SDK for linux and windows

    I saw different links for downloading azure java SDK for linux and windows.
    What difference does it actually have when java is platform independent? Or both are same jars?

    Hi,
    Thank you for your post.
    It contains the same jar files.
    Regards,
    Mekh.

  • How to link Linux and Windows?

    hi,
    i would like to build an application which can link both linux and windows together so that the linux's users can communicate with windows's users without problem. But i don't know which java's technologies used to do this job. Java CORBA? Java RMI? or others? Can you help me?
    thanks a lot.
    from
    mercy

    if i want to build a messaging or chat program like ICQ, java.net package can be used so that ICQ Linux's users can send messages to ICQ windows's users?

  • Multiboot with LINUX and Windows

    Does solaris support multiboot with UNIX, LINUX and Windows.
    All of them in the same disk on primary hdd.
    thanks

    Hello pradyut. It is not possible to boot Solaris 10 from Linux GRUB since Sun uses a modified GRUB which can deal with SUN partition 'slices'. The opposite (Sun grub booting Linux), however, is really easy to do. If you installed Solaris last you can edit Solaris /boot/grub/menu.lst and just add another entry the same as the Windows menu entry, except for the changed name and partition number.
    So, for example, with a Windows entry similar as follows:
    title Windows
         rootnoverify (hd0,0)
         chainloader +1
    just copy/paste it where you want it to go and edit as follows:
    title Linux xx.. <- you put whatever title you wish here
         rootnoverify (hd0,X)
         chainloader +1
    ..where X = the correct partition number of the Linux /boot code. If your Linux /boot directory is installed in the second physical partition (directly after Windows), for example, X would be 1 if a primary partition, or 4 if the first logical partition.
    If you are not really sure what partition number to use (this can be confusing and difficult to even describe), you could easily discover the correct partition number by trial and error, or run (in a Linux console) df -h. A wrong partition number entry will produce a harmless GRUB error and return you to the Solaris boot menu to try again.
    If you look at the Grub documentation, you will find that it is really even easier to make these changes on the fly (while actually booting). Highlight the Grub menu item via the down-arrow, press ESC, then E. This will allow you to edit that line, and quickly change the 'X' number and try it. Type <Enter> once your edit is done, and then highlight the menu entry to boot, and type B.
    Either way, you can return to Solaris /boot/grub.menu.lst and put in the correct number and it will always boot the Linux loader even after updates, reinstalls, and kernel upgrades.
    Also remember that if you are using logical partitioning in one of the physical partitions, the first logical partition is always HD0,4 (assuming hard disk 0) whether there are 4, or less than 4 physical partitions.
    I hope this helps!
    pm..

Maybe you are looking for

  • Sap_uwl_selecteditem in the UWL workitem URL

    Hi, I needed to capture the value that is generated for sap_uwl_selecteditem in the UWL work item URL. Is there a way to get its value as we do for the work item id by setting the dynparam as wi_id=${item.externalType} ? Thanks & Regards, Jyoti

  • Upgrade from Oracle Database 11.2.0.1 to 11.2.0.3

    Hi, I have Oracle ASM 11.2.0.1, Oracle RAC 11.2.0.1 and Oracle Database 11.2.0.1. I have two nodes. I would upgrade Oracle Database to 11.2.0.3 mantaining the 11.2.0.1 version for ASM and RAC. Is it possible? Where can I get a guide? Thanks

  • Howto: Custom MonitorMBean ?

    Hi! We are currently adopting JMX is the management and monitoring layer in our application. As a starting point to my question, just take it given, that I can access several statistic values via a DynamicMBean. What I want to do, is to monitor some

  • Regarding AUTOCAD interface

    Hello Frds, I'm working for a real estate project where i have excel sheet data of AUTOCAD and i need to convert that in to SAP/ABAP with an interface. How i can do it. PLZ help me with the tips THANKS in advance.

  • ST03N and new BI Stats

    Hello Everyone, We have installed, activated and are filling all the new BI Stat 2004s Cubes.  Running the Business Content queries returns results just fine. Problem is when running ST03N (BI Workload), the only thing that shows is Process Chain.  I