Skip to contentSkip to conversation

Bidi support.

BRANCH Vladimir 'φ-coder/phcoder' Serbinenko 2 participants 4 messages Jan 6, 2010

lore
Share & tools
lore
#0 lore raw

Hello, all. I'm here to announce initial bidi support in one of my branches, namely people/phcoder/bidi. For now it has following limitation:
-Only gfxmenu support. So no support in terminal (even not in gfxterm) -No line wrapping (not necessary currently since draw_string draws only one line)
-No mirroring. So e.g. parenthesis are in wrong direction.
-No combining marks (not a bidi issue actually).
-No shaping. So no Arabic support.
These drawbacks will be addressed when time permits. When bidi matures a bit it will be available in experimental.
I'm attaching screenshot (thanks directhex for nice gfxmenu theme) (I have only some basics in Hebrew and Arabic so this and subsequent bidi screenshots may contain linguistic mistakes)

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
#1 lore raw
Quoted 2 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm here to announce initial bidi support in one of my branches, namely people/phcoder/bidi.

Looks very nice.

Is there a location where the grub.cfg file that generated the image can be viewed?

-- Bruce

#2 lore raw
Quoted 6 lines · Bruce Dubbs
Quoted 2 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm here to announce initial bidi support in one of my branches, namely people/phcoder/bidi.

Looks very nice.

Thanks

Quoted 2 lines

Is there a location where the grub.cfg file that generated the image can be viewed?

Attached. Mostly based on Colin's overlay grub.cfg.

Quoted 9 lines

-- Bruce

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

insmod biosdisk
insmod pc
insmod font
insmod vbe
insmod gfxterm
insmod videotest
insmod tga
insmod png
insmod gfxmenu

#set gfxmode="640x480"
gfxmode="800x600"

loadfont /boot/grub/fonts/gnu-unifont-2008-04-06_tagged.pf2 loadfont /boot/grub/themes/debian-lenny/vera_sans_10.pf2 loadfont /boot/grub/themes/debian-lenny/vera_sans_12.pf2 loadfont /boot/grub/themes/debian-lenny/vera_sans_bold_14.pf2

gfxterm_font="unifont Regular 16"

serial
terminal_input console serial
terminal_output gfxterm serial

#menuviewer="text"
#prefix="/boot/grub"
icondir=/boot/grub/themes/icons/

# Set the initial gfxmenu theme.
#theme="/boot/grub/themes/ubuntu2/theme.txt"
theme="/boot/grub/themes/debian-lenny/theme.txt"
#theme="/boot/grub/themes/ubuntu1/theme.txt"

#theme="/boot/grub/themes/winter/theme.txt" #theme="/boot/grub/themes/proto/theme.txt" #theme="/boot/grub/themes/ubuntuglow/theme.txt"; gfxmode="1024x768"

# Choose the font for gfxterm.

####################
#### BEGIN MENU ####

timeout=8
default="3"
fallback="2 1"

menuentry "OpenSUSE השנה 2010 טובה לך‬" --class opensuse --class linux --class os {
echo "OpenSUSE: Press Enter."
read
}
menuentry "Gentoo Linux" --class gentoo --class linux --class os {
echo "Gentoo: Press Enter."
read
}
menuentry "Ubuntu 8.04" --class ubuntu --class linux --class os {
echo "Ubuntu: Press Enter."
read
}
menuentry "Kubuntu 8.04" --class kubuntu --class linux --class os {
echo "Kubuntu: Press Enter."
read
}
menuentry "Linux Mint" --class linuxmint --class linux --class os {
echo "Linux Mint: Press Enter."
read
}
menuentry "Sabayon" --class sabayon --class linux --class os {
echo "Gentoo: Press Enter."
read
}
menuentry "Debian" --class debian --class linux --class os {
echo "Debian: Press Enter."
read
}
menuentry "Windows XP" --class "windows xp" --class windows --class os {
echo "Windows XP: Press Enter."
read
}
# Chinese & UTF-8 test from Carbon Jiao.
menuentry "从硬盘的第一主分区启动" --class "windows xp" --class windows --class os {
echo "Windows XP, Chinese UTF-8 menu item test: Press Enter."
read
}
menuentry "Bitmap graphics test" {
videotest -d bitmaps
}
menuentry "Switch to text menu" {
unset theme
}
menuentry "Switch to graphical menu" {
set theme="/boot/grub/themes/winter/theme.txt"
}

#### END MENU ####
####################

#3 lore raw
Quoted 4 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 2 lines · Bruce Dubbs

Is there a location where the grub.cfg file that generated the image can be viewed?

Attached. Mostly based on Colin's overlay grub.cfg.

Excellent. It helps me a lot.

-- Bruce