I want to add malayalam font in my programming codes.
But I am not able to find it in midlet programming. Please help me to solve this issue.
MIDP defines nothing about fonts. This would be a system-specific extension, so it will depend on which device you're targeting. Normally it's not possible to install new fonts programmatically on these devices.
Related
Just to clarify, I'm not talking about making the background of the editing frame or window dark via:
local G = ...
styles = G.loadfile('cfg/tomorrow.lua')('Zenburn') -- theme
I'm talking about making the background of the Project frame/window, Output window, the menu bar, etc., all dark too.
Is this possible to do without using Windows's high-contrast theme for everything?
Thank you.
I don't think this is possible, as it relies on wxwidgets to draw those windows and wxwidgets uses system-provided colors to draw them (without much if any user control).
I opened a wxwidgets ticket that would implement re-configuring system colors, but there hasn't been much movement on it.
we are making one mobile application in j2me java symbian. we want to display marathi font in our mobile application.we tried searching on various forums but was unable to get a solution related to language support. if not marathi please tried to provide solution trying any language rather than english. how to display marathi font in application and how to use unicode in marathi in j2me.. we need an expert advice on this...
The way that I have usually seen or implemented similar things done in the past is to create your own font texture and handle all the character drawing yourself. Basically, if the font you want isn't provided for the handset you are targetting, you have to handle all text drawing yourself.
if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.
On this image the links i am talking about are cyan on grey:
I found a solution for Windows/XP:
The hover uses the same colors as the on your system. On Windows you
can change that via Display settings > Appearance > Advanced: ToolTip.
The link color is the one used in your browser (IE on Windows).
However, i need a solution for Linux (XFCE 4.8.1/GTK)
I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:
style "default" {
GtkWidget::link-color = "#ffffff"
}
class "GtkWidget" style "default"
but this did not change the link color in Eclipse.
I hope you can help - thanks!
GNOME
http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/
KDE
Use the colors menu (the first entry in the picture):
And redefine the tooltip background color:
Then enjoy the readable popups:
Install gnome-color-chooser and customize the tooltip color as described here:
http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/
I'll chime in here, since I have the same issue.
There is no fix for this, when running Eclipse on Unix (KDE, Gnome, etc).
The color for links, which is used in the QuickFix list as well as various other places in the UI (such as Preferences panels), is hardcoded.
On Windows, you are luckier, since Eclipse uses the native link widget, which takes its colors from system settings.
On non-Windows, you are stuck with a dark-blue hardcoded color.
What it should do, at least on GTK, is use the GtkWidget::link-color setting. But it doesn't, currently.
If you want to see it fixed, either upvode this bug or fix the code yourself:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130444
Sad, I know ):
Check out this post https://stackoverflow.com/questions/96981/color-themes-for-eclipse or have a look at the Eclipse color themes site.
Hi
i have problam in showing arabic words in LWUIT , the arabic words characters are separated and reversed , but it`s work true on nokia , how can i slove this problem ?
thanks
In bitmap fonts Arabic glyph shaping doesn't work because of the unique properties of the language.
You need to use system fonts (which aren't the default in some of LWUIT's themes), in system fonts support for Arabic is up to the device/simulator not all of which support bidi/shaping properly.
Notice some older Sony Erricson devices as well as some other devices such as badly localized Android devices (e.g. Nexus One) don't have proper bidi support. This means their native widgets implement bidi instead of their drawString implementation. Unfortunately there is no way to detect this bug in runtime, so LWUIT can't seamlessly workaround it!
The only solution is to create a version specifically to such devices which manually performs the bidi algorithm on the drawString code, this means replacing the implementation for those devices with an implementation that just overrides the drawString method and performs the bidi algorithm on rendered strings. LWUIT's bidi algorithm is exposed in the Display class.
I used DateField in a Form. When I try to select a date it opens up calendar functionality provided by cellphone.
As you know the UI features in j2me are not that great. I looked at third party libraries to design fancy UI. So far I have not found any api which makes DateField fancy. Is anybody aware of any API which supports DateField?
Using the phone's native control for this is exactly what j2me is supposed to do.
The system has clear advantages when changing the phone language, especially when the alphabet isn't in basic ASCII characters.
If you want to control exactly the way the calendar looks, you'll need to draw it yourself in a Canvas and deal with user input, screen size and localization issues yourself.
In general, you might want to look into the LWUIT library for an intermediary solution between fixed native controls and direct screen access.