Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
317d255a
Kaydet (Commit)
317d255a
authored
Eki 25, 2013
tarafından
László Németh
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#70858 librelogo: fix Logo program halt at font settings (Windows)
Change-Id: I3c51ba693caa80c8b530a9eee932a48a125e2eca
üst
30fc3d6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
LibreLogo.py
librelogo/source/LibreLogo/LibreLogo.py
+30
-6
No files found.
librelogo/source/LibreLogo/LibreLogo.py
Dosyayı görüntüle @
317d255a
...
...
@@ -1374,6 +1374,30 @@ def __float__(x): # handle eg. float("10,5cm")
x
=
eval
(
x
)
return
float
(
x
)
def
fontheight
(
n
=
-
1
):
if
n
!=
-
1
:
_
.
fontheight
=
n
else
:
return
_
.
fontheight
def
fontweight
(
n
=
-
1
):
if
n
!=
-
1
:
_
.
fontweight
=
n
else
:
return
_
.
fontweight
def
fontfamily
(
s
=
-
1
):
if
s
!=
-
1
:
_
.
fontfamily
=
s
else
:
return
_
.
fontfamily
def
fontstyle
(
n
=
-
1
):
if
n
!=
-
1
:
_
.
fontstyle
=
n
else
:
return
_
.
fontstyle
def
__loadlang__
(
lang
,
a
):
global
comp
,
__colors__
__colors__
[
lang
]
=
{}
...
...
@@ -1445,13 +1469,13 @@ def __loadlang__(lang, a):
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FILLCOLOR'
],
"
\n
)fillcolor("
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FILLSTYLE'
],
"
\n
)fillstyle("
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTCOLOR'
],
"
\n
)fontcolor("
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTFAMILY'
],
"
\n
global _
\n
_.fontfamily=
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTHEIGHT'
],
"
\n
global _
\n
_.fontheight=
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTWEIGHT'
],
"
\n
global _
\n
_.fontweight=
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTSTYLE'
],
"
\n
global _
\n
_.fontstyle=
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTFAMILY'
],
"
\n
)fontfamily(
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTHEIGHT'
],
"
\n
)fontheight(
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTWEIGHT'
],
"
\n
)fontweight(
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'FONTSTYLE'
],
"
\n
)fontstyle(
"
],
[
r"(?<!:)\b(?:
%
s)(\s+|$)"
%
a
[
'PENWIDTH'
],
"
\n
)pensize("
],
[
r"(?<!:)\b(?:
%
s)\b"
%
a
[
'PENDOWN'
],
"
\n
global _
\n
__pen__(1)"
],
[
r"(?<!:)\b(?:
%
s)\b"
%
a
[
'PENUP'
],
"
\n
global _
\n
__pen__(0)"
],
[
r"(?<!:)\b(?:
%
s)\b"
%
a
[
'PENDOWN'
],
"
\n
__pen__(1)"
],
[
r"(?<!:)\b(?:
%
s)\b"
%
a
[
'PENUP'
],
"
\n
__pen__(0)"
],
[
r"(?<!:)\b(?:
%
s)\b"
%
a
[
'HIDETURTLE'
],
"
\n
hideturtle()"
],
[
r"(?<!:)\b(?:
%
s)\b"
%
a
[
'SHOWTURTLE'
],
"
\n
showturtle()"
],
[
r"(?<!:)\b(?:
%
s)\b\["
%
a
[
'POSITION'
],
"position()["
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment