VDR Portal
Register Calendar Members List Team Members Search Frequently Asked Questions Gallery Go to the Main Page

VDR Portal » Developer » VDR Plugins » [entgültig gelöst] text2skin und keine Truetype Renderung mehr » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Pages (2): [1] 2 next » Post New Thread Post Reply
Go to the bottom of this page [entgültig gelöst] text2skin und keine Truetype Renderung mehr
Author
Post « Previous Thread | Next Thread »
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

[entgültig gelöst] text2skin und keine Truetype Renderung mehr Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

hi, hab heute mal meine Mandriva Cooker Install auf den neuesten Stand gebracht und somit auch die libfreetype6 auf Version 2.2.1. Seitdem werden keine TrueType Schriften mehr gerendert. @LordJaxom, hast du eine Vermutung woran dies in text2skin liegen kann oder ist das ein libfreetype6 2.2.1 Problem?

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

This post has been edited 1 time(s), it was last edited by Elchi: 01.07.2006 13:43.

15.05.2006 21:11 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
44892 44892 is a male
Routinier


images/avatars/avatar-1523.gif

Registration Date: 03.11.2004
Posts: 363
Herkunft: Stuttgart
Berufung: Plugin-Entwickler

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hallo, würde mich auch interessieren. Verwende zwar LinVDR (Debian)-Basis mit aktuellem 1.4.0 und Bigpatch 1, Kernel 2.6.16.5, aber habe auch das Problem, dass ich keine Texte mehr in Enigma und Mandaxy habe... nur noch der Classsic und Skinelchi funktionieren. Würde aber gerne wieder zu Enigma zurück kehren.

Er zeigt das Bild an, Menü ist sichtbar, aber kein Text - Navigation im Blindflug geht jedoch...

__________________
SW: LinVDR 0.7/Mahlzeit 3.2 | updated auf Toxic 1.4.7 v40 BP | Dr.Seltsam-Kernel 2.6.23.9

HW: Scenic 600 modded/Alu front | ECS K7S5A Rev.3.1 | Duron 1200 | 256 MB | 1xTT DVB-S-FF 1.5 + 2x Airstar 2 DVB-T Budget | 2x SP2514 á 250 GB, 1xIBM à 160GB | LG GSA-4167B DVD+/-R(W) | D-Link DWL-G730AP AP-Client | PSOne 5" TFT
16.05.2006 07:14 44892 is offline Send an Email to 44892 Search for Posts by 44892 Add 44892 to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi, das hat nichts mit dem VDR 1.4 oder dem .16er Kernel zu tun. Das liegt einzig und allein an der neuen libfreetype6 2.2.1, denke ich zumindest da diese ab 15.Mai bei Mandriva Cooker erneuert wurde und es seit da nicht mehr geht.

quote:
nur noch der Classsic und Skinelchi funktionieren.


Enigma ist ja auch der einzige Skin der Truetype Schriften verwendet.

Hab auch schon einen Recompile von Text2skin auf die neue libfreetype gemacht, auch mal mit -DHAVE_IMAGEMAGICK oder DHAVE_LIBIMLIB2, aber gleiches Problem. Welche Version ist bei dir als libfreetype drauf?
Werde mir mal das changelog suchen.

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

16.05.2006 09:40 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Eigentlich dürfte ja bei den GraphTFT Besitzern auch kein TrueType Rendering mehr funktionieren, da ja text2skin die Font Routinen von da nimmt. Laut changelog hat es Änderungen mit den Header Files gegeben.

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

16.05.2006 10:11 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
44892 44892 is a male
Routinier


images/avatars/avatar-1523.gif

Registration Date: 03.11.2004
Posts: 363
Herkunft: Stuttgart
Berufung: Plugin-Entwickler

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Komme gerade nicht an den Rechner, werde heute Abend mal nachsehen, was ich drauf habe... aber mit GraphTFT klingt ja furchtbar - habe mir soeben ein PSOne-TFT zugelegt und wollte genau das mit GraphTFT nutzen...

Muss ich wohl noch ein wenig warten, bis es da eine Lösung gibt... Naja, will ja ohnehin erst mal das neue Gehäuse für den Zweit-VDR umbauen und da das TFT rein setzen, evtl. geht die Ansteuerung bis dahin auch.

Weisst Du denn, ob daran gearbeitet wird?

Gruß, Sascha

__________________
SW: LinVDR 0.7/Mahlzeit 3.2 | updated auf Toxic 1.4.7 v40 BP | Dr.Seltsam-Kernel 2.6.23.9

HW: Scenic 600 modded/Alu front | ECS K7S5A Rev.3.1 | Duron 1200 | 256 MB | 1xTT DVB-S-FF 1.5 + 2x Airstar 2 DVB-T Budget | 2x SP2514 á 250 GB, 1xIBM à 160GB | LG GSA-4167B DVD+/-R(W) | D-Link DWL-G730AP AP-Client | PSOne 5" TFT
16.05.2006 10:20 44892 is offline Send an Email to 44892 Search for Posts by 44892 Add 44892 to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

quote:
Weisst Du denn, ob daran gearbeitet wird?


Mhm, keine Ahnung ob LordJaxom oder Kenny (so hieß er doch) schon die neue Version drauf haben.
Was mich mal interessiert was freetype-config --ftversion bei dir ausspuckt? Keine Ahnung ob linvdr schon so aktuell ist, das die schon die 2.2.1 verwenden, seit wann geht es bei dir mit den Fonts nicht mehr?

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

16.05.2006 10:30 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

So hab mal die vorherige Version von libfreetype6 also die 2.1.10 selber compiliert und installiert. freetype-config --ftversion -> 2.1.10
Lustigerweise geht es damit aber auch nicht mehr.
@LordJaxom, was außer der libfreetype6 wird denn noch gebraucht um diese Truetype Schriften zu rendern, außer natürlich die libimlib2 usw. ?

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

17.05.2006 17:20 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
LordJaxom LordJaxom is a male


images/avatars/avatar-2276.jpg

Registration Date: 29.09.2003
Posts: 2,100
Herkunft: Kind der Kirmes am Kanal
Berufung: Plugin-Entwickler

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Öh, Freetype reicht eigentlich...

Aber wenn sich an den APIs nichts geändert hat (ChangeLog von FT?) und nicht zu erkennen ist warum's plötzlich nicht mehr geht würde ich evtl. einen Bugreport bei FT anregen. Kann ja nicht sein dass das "einfach so" nicht mehr geht...

__________________
Meine Mühle:
Silverstone LaScala 16M silver (3000+, 512MB RAM, TT FF 1.5, TT Budget, ATI X300 PEG, 360GB HDDs + 200GB USB, DVD+RW-DL)
Based on Sarge mit VDR 1.4.7 & LIVE CVS
17.05.2006 17:23 LordJaxom is offline Send an Email to LordJaxom Homepage of LordJaxom Search for Posts by LordJaxom Add LordJaxom to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi Lord, kannst du hieraus was erkennen?

CHANGES BETWEEN 2.2 and 2.1.10

(not released officially)

I. IMPORTANT BUG FIXES

- Vertical metrics for SFNT fonts were incorrect sometimes.

- The FT_HAS_KERNING macro always returned 0.

- CFF OpenType fonts didn't return correct vertical metrics for
glyphs with outlines.

- If FreeType was compiled without hinters, all font formats based
on PS outlines weren't scaled correctly.


II. IMPORTANT CHANGES

- Version 2.2 no longer exposes its internals, this is, the header
files located in the `include/freetype/internal' directory of
the source package are not copied anymore by the `make install'
command. Consequently, a number of rogue clients which directly
access FreeType's internal functions and structures won't
compile without modification.

We provide patches for most of those rogue clients. See the
following page for more information:

http://www.freetype.org/freetype2/patches/rogue-patches.html

Note that, as a convenience to our Unix desktop users, version
2.2 is *binary* compatible with FreeType 2.1.7, which means that
installing this release on an existing distribution shall not
break any working desktop.

- FreeType's build mechanism has been redesigned. With GNU make
it is now sufficient in most cases to edit two files:
`modules.cfg', to select the library components, and the
configuration file `include/freetype/config/ftoption.h' (which
can be copied to the objects directory). Removing unused module
directories to prevent its compilation and editing
`include/freetype/config/ftmodule.h' is no longer necessary.

- The LIGHT hinting algorithm produces more pleasant results.
Also, using the FT_LOAD_TARGET_LIGHT flags within FT_Load_Glyph
always forces auto-hinting, as a special exception. This allows
you to experiment with it even if you have enabled the TrueType
bytecode interpreter in your build.

- The auto hinter now employs a new algorithm for CJK fonts, based
on Akito Hirai's patch. Note that this only works for fonts
with a Unicode charmap at the moment.

- The following callback function types have changed slightly (by
adding the `const' keyword where appropriate):

FT_Outline_MoveToFunc
FT_Outline_LineToFunc
FT_Outline_ConicToFunc
FT_Outline_CubicToFunc
FT_SpanFunc
FT_Raster_RenderFunc

FT_Glyph_TransformFunc
FT_Renderer_RenderFunc
FT_Renderer_TransformFunc

Note that this doesn't affect binary backward compatibility.

- On MacOS, new APIs have been added as replacements for legacy
APIs: `FT_New_Face_From_FSRef' for `FT_New_Face_From_FSSpec',
and `FT_GetFile_From_Mac_ATS_Name' for
`FT_GetFile_From_Mac_Name'. Legacy APIs are still available, if
FreeType is built without disabling them.

- A new API `FT_Select_Size' has been added to select a bitmap
strike by its index. Code using other functions to select
bitmap strikes should be updated to use this function.

- A new API `FT_Get_SubGlyph_Info' has been added to retrieve
subglyph data. This can be used by rogue clients which used to
access the internal headers to get the corresponding data.

- In 2.1.10, the behaviour of `FT_Set_Pixel_Sizes' was changed for
BDF/PCF fonts, and only for them. This causes inconsistency.
In this release, we undo the change. The intent of the change
in 2.1.10 is to allow size selection through real dimensions,
which can now be done through `FT_Request_Size'.

- Some security issues were discovered and fixed in the CFF and
Type 1 loader, causing crashes of FreeType by malformed font
files.


III. MISCELLANEOUS

- The documentation for FT_LOAD_TARGET_XXX and FT_RENDER_MODE_XXX
values now better reflects its usage and differences: One set is
used to specify the hinting algorithm, the other to specify the
pixel rendering mode.

- FT_New_Face() and FT_New_Face_From_FSSpec() in ftmac.c have been
changed to count supported scalable faces (sfnt, LWFN) only, and
to return the number of available faces via face->num_faces.
Unsupported bitmap faces (fbit, NFNT) are ignored.

- builds/unix/configure has been improved for MacOS X. It now
automatically checks available functions in Carbon library, and
prepare to use newest functions by default. Options to specify
the dependencies of each Carbon APIs (FSSpec, FSRef, old/new
QuickDraw, ATS) are available too. By manual disabling of all
QuickDraw functionality, FreeType can be built without
`deprecated function' warnings on MacOS 10.4.x, but
FT_GetFile_Mac_Name in ftmac.c then is changed to a dummy
function, and returns an `unimplemented' error. For details see
builds/mac/README.

- SFNT cmap handling has been improved, mainly to run much faster
with CJK fonts.

- A new function `FT_Get_TrueType_Engine_Type (declared in
`FT_MODULE_H') is provided to determine the status of the
TrueType bytecode interpreter compiled into the library
(patented, unpatented, unimplemented).

- Vertical metrics of glyphs are synthesized if the font does not
provide such information. You can tell whether the metrics are
synthesized or not by checking the FT_FACE_FLAG_VERTICAL flag of
the face.

- The demo programs `ftview' and `ftstring' have been rewritten
for better readability. `ftview' has a new switch `-p' to test
FT_New_Memory_Face (instead of FT_New_Face).

- FreeType now honours bit 1 in the `head' table of TrueType fonts
(meaning `left sidebearing point at x=0'). This helps with some
buggy fonts.

- Rudimentary support for Adobe's new `SING Glyphlet' format. See

http://www.adobe.com/products/indesign/sing_gaiji.html

for more information.

- The `ftdump' program from the `ft2demos' bundle now shows some
information about charmaps. It also supports a new switch `-v'
to increase verbosity.

- Better AFM support. This includes track kerning support.

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

17.05.2006 18:03 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
LordJaxom LordJaxom is a male


images/avatars/avatar-2276.jpg

Registration Date: 29.09.2003
Posts: 2,100
Herkunft: Kind der Kirmes am Kanal
Berufung: Plugin-Entwickler

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Auf den ersten Blick leider nicht. Ich müsste mir mal genau anschauen (debuggen) was beim Laden da passiert, ehrlichgesagt hab ich mir den Code ewige Zeiten nicht mehr angeschaut und selbst geschrieben hab ich den damals auch nicht Augenzwinkern

__________________
Meine Mühle:
Silverstone LaScala 16M silver (3000+, 512MB RAM, TT FF 1.5, TT Budget, ATI X300 PEG, 360GB HDDs + 200GB USB, DVD+RW-DL)
Based on Sarge mit VDR 1.4.7 & LIVE CVS
17.05.2006 20:50 LordJaxom is offline Send an Email to LordJaxom Homepage of LordJaxom Search for Posts by LordJaxom Add LordJaxom to your Buddy List
44892 44892 is a male
Routinier


images/avatars/avatar-1523.gif

Registration Date: 03.11.2004
Posts: 363
Herkunft: Stuttgart
Berufung: Plugin-Entwickler

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

quote:
Original von Elchi
Was mich mal interessiert was freetype-config --ftversion bei dir ausspuckt? Keine Ahnung ob linvdr schon so aktuell ist, das die schon die 2.2.1 verwenden, seit wann geht es bei dir mit den Fonts nicht mehr?

Elchi


*g* Bei mir kommt nur command not found *g*

Die fonts gehen nicht mehr, seit ich von Codys 1.3.47 auf 1.4.0 gesprungen bin. Er hat die zuvor mal mit der alten Im2Lib kompiliert und ich erhielt tausende (!) Fehlermeldungen "font engine not enabled at compile time" oder so ähnlich pro Minute... mit Im2Lib waren die Meldungen weg - und die Schrift auch.

__________________
SW: LinVDR 0.7/Mahlzeit 3.2 | updated auf Toxic 1.4.7 v40 BP | Dr.Seltsam-Kernel 2.6.23.9

HW: Scenic 600 modded/Alu front | ECS K7S5A Rev.3.1 | Duron 1200 | 256 MB | 1xTT DVB-S-FF 1.5 + 2x Airstar 2 DVB-T Budget | 2x SP2514 á 250 GB, 1xIBM à 160GB | LG GSA-4167B DVD+/-R(W) | D-Link DWL-G730AP AP-Client | PSOne 5" TFT
17.05.2006 20:53 44892 is offline Send an Email to 44892 Search for Posts by 44892 Add 44892 to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

quote:
*g* Bei mir kommt nur command not found *g*


Ja das kann sein, da bei dir keine Devels von libfreetype installiert sind, hast ja Linvdr. Die Devels brauchste ja nur zum Compilieren, der Witz ist aber nun bei mir, das es mit der 2.1.10 nun auch nicht mehr klappt. Hatte ja am Montag auf die 2.2.1 geupdatet. Davor lief ja schon der 1.4er VDR und deshalb vermute ich nun ein anderes Packet was hier die Probleme macht, wenn ich nur wüßte welches? großes Grinsen

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

17.05.2006 21:13 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi, also es lag bei mir doch an der neuen libfreetype6, der einzige Fehler warum die compilierte alte Version 2.1.10 nicht mehr wollte war der, das durch mein make install der link in /usr/lib immer noch auf die neue Version vom 15.5 zeigte. Nach Änderung geht nun wieder alles.

lrwxrwxrwx 1 root root 20 Mai 17 17:00 libfreetype.so -> libfreetype.so.6.3.8*
lrwxrwxrwx 1 root root 20 Mai 17 21:37 libfreetype.so.6 -> libfreetype.so.6.3.8*
-rwxr-xr-x 1 root root 463636 Mai 15 12:03 libfreetype.so.6.3.10*
-rwxr-xr-x 1 root root 1471480 Mai 17 17:00 libfreetype.so.6.3.8*


Warum die neuere Version (15.5) um ca. 1 MB kleiner ist, kann ich nicht nachvollziehen, weil die Version von vor einem halben Jahr auch nur ca. 430Kb ist und es damit keine Probleme gab.

lrwxrwxrwx 1 root root 20 Okt 29 2005 libfreetype.so -> libfreetype.so.6.3.8*
lrwxrwxrwx 1 root root 20 Okt 29 2005 libfreetype.so.6 -> libfreetype.so.6.3.8*
-rwxr-xr-x 1 root root 430280 Aug 24 2005 libfreetype.so.6.3.8*

@LordJaxom, da wird es wohl bald wirklich Geschrei geben großes Grinsen wenn andere auf diese Version gehen oder liege ich da gänzlich daneben? Könnte ja auch ein Mandriva Problem darstellen, aber der Fehler von 44892 würde mich dann doch auch noch interessieren.

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

This post has been edited 1 time(s), it was last edited by Elchi: 17.05.2006 21:55.

17.05.2006 21:53 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Auf der ML wurde nun ein Patch für das TEXT2SKIN Plugin für dieses Problem gepostet, es sollte jetzt auch mit der neuesten Version von libfreetype klappen.

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
--- text2skin-1.0-orig/graphtft/font.c	2005-01-30 19:09:42.000000000 +0100
+++ text2skin/graphtft/font.c	2006-06-30 21:33:53.000000000 +0200
@@ -139,20 +139,21 @@
 		 error = FT_Load_Glyph( _face, glyph_index, FT_LOAD_DEFAULT ); 
 		 if ( error ) continue; /* ignore errors */  
 		 
-		 // convert to a mono bitmap
-		 error = FT_Render_Glyph( _face->glyph, ft_render_mode_mono ); 
-		 if ( error ) continue;
-		
 		// now, convert to vdr font data
 		int width = (_slot->metrics.horiAdvance / 64) + 1;
 		int bearingX = (_slot->metrics.horiBearingX / 64) +1;
 		width = (width > (int)sizeof(cFont::tPixelData) * 8) ? (((int)sizeof(cFont::tPixelData) * 8)-2) :width ;
-		int  top = _slot->bitmap_top;
-		int  y_off = Size - top;
 
 		font_data[(num_char_array*num_rows)+0]=width;
 		font_data[(num_char_array*num_rows)+1]=num_rows_global;
 
+		 // convert to a mono bitmap
+		 error = FT_Render_Glyph( _face->glyph, ft_render_mode_mono );
+		 if ( error ) continue;
+
+		int  top = _slot->bitmap_top;
+		int  y_off = Size - top;
+
 		unsigned char *bmp = _slot->bitmap.buffer;
 		
       		for (int y = 0; y < _slot->bitmap.rows; ++y , y_off++) {


Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

01.07.2006 13:30 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
Brougs78 Brougs78 is a male
Graf


images/avatars/avatar-2424.gif

Registration Date: 12.05.2003
Posts: 2,361
Herkunft: Tirol (A)

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi Elchi!

Kannst du das bestätigen dass das für die neue LIB funktioniert? Würde das gerne in meinem Patch für text2skin übernehmen ...

Gruß,
Brougs78

__________________
- -- --- ================================================================ --- -- -
VDR-Konfig: Antec Fusion, Intel E5200, Asus P5N7A-VM (VDPAU), 2xDVB-s2 // yavdr-0.2
- -- --- ================================================================ --- -- -

» Mein VDR-Zeugs (OSDImage-Plugin, Enigma-Skin): brougs78.vdr-developer.org «

01.07.2006 16:08 Brougs78 is offline Send an Email to Brougs78 Homepage of Brougs78 Search for Posts by Brougs78 Add Brougs78 to your Buddy List
Elchi
Haudegen


images/avatars/avatar-2062.jpg

Registration Date: 28.01.2003
Posts: 554
Herkunft: Oberlausitz unweit der Spreequelle

Thread Starter Thread Started by Elchi
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Ja klappt problemlos !!!

code:
1:
2:
lrwxrwxrwx   1 root root       21 Jul  1 13:40 libfreetype.so.6 -> libfreetype.so.6.3.10*
-rwxr-xr-x   1 root root   463636 Mai 15 12:03 libfreetype.so.6.3.10*


Wobei libfreetype.so.6.3.10 die 2.2er Version ist.

Elchi

__________________
Asus A7V333, XP-M 2400+ (1800Mhz) mit Powernow-k7 825-1815MHz @1,23V und FSB166, 512 MB, 200 GB Seagate, NEC 1100A,
128x64 KS108 1x TT-DVB-S V1.3, 1x DVB-S Nova, UIR-Man, Mandriva Cooker 2007, VDR: 1.4, DVD, DVD Wechsler, VCD, MP3, Mplayer, Extrecmenu, Text2skin, GLCD, Streamdev, StatusLEDs, Screenshot

dabei seit Version 0.72

01.07.2006 16:29 Elchi is offline Send an Email to Elchi Search for Posts by Elchi Add Elchi to your Buddy List
Brougs78 Brougs78 is a male
Graf


images/avatars/avatar-2424.gif

Registration Date: 12.05.2003
Posts: 2,361
Herkunft: Tirol (A)

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi!

Ok, danke für die Info.

Gruß,
Brougs78

__________________
- -- --- ================================================================ --- -- -
VDR-Konfig: Antec Fusion, Intel E5200, Asus P5N7A-VM (VDPAU), 2xDVB-s2 // yavdr-0.2
- -- --- ================================================================ --- -- -

» Mein VDR-Zeugs (OSDImage-Plugin, Enigma-Skin): brougs78.vdr-developer.org «

01.07.2006 16:32 Brougs78 is offline Send an Email to Brougs78 Homepage of Brougs78 Search for Posts by Brougs78 Add Brougs78 to your Buddy List
tüddelkopp tüddelkopp is a male
Ritter


Registration Date: 14.12.2004
Posts: 1,054
Herkunft: Paderborn, NRW
Berufung: Spassbeobachter

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Also bei mir mit Debian Sarge (libfreetype-6.3.5) endet das mit diesem Patch in einem endlosen restart des VDR.

__________________
Gruß Tüddelkopp
03.07.2006 04:27 tüddelkopp is offline Send an Email to tüddelkopp Homepage of tüddelkopp Search for Posts by tüddelkopp Add tüddelkopp to your Buddy List
Brougs78 Brougs78 is a male
Graf


images/avatars/avatar-2424.gif

Registration Date: 12.05.2003
Posts: 2,361
Herkunft: Tirol (A)

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi!

Mit welcher Meldung stürzt dann VDR ab?
Liegt das wirklich am Patch?
Hier funktioniert das auch ohne Probleme (also bei einer älteren libfreetype-Version vor 2.2)

Gruß,
Brougs78

__________________
- -- --- ================================================================ --- -- -
VDR-Konfig: Antec Fusion, Intel E5200, Asus P5N7A-VM (VDPAU), 2xDVB-s2 // yavdr-0.2
- -- --- ================================================================ --- -- -

» Mein VDR-Zeugs (OSDImage-Plugin, Enigma-Skin): brougs78.vdr-developer.org «

03.07.2006 07:07 Brougs78 is offline Send an Email to Brougs78 Homepage of Brougs78 Search for Posts by Brougs78 Add Brougs78 to your Buddy List
tüddelkopp tüddelkopp is a male
Ritter


Registration Date: 14.12.2004
Posts: 1,054
Herkunft: Paderborn, NRW
Berufung: Spassbeobachter

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Die Fehlermeldung ist:

code:
1:
/dev/shm/scripts/startvdr: line 1: 19789 Floating point exception


Es funktioniert aber erst seit dem letzten Libfreetype update von Sarge nicht mehr, mit der Libfreetype davor funktioniert es einwandfrei. Die Libfreetype Version ist dabei gleich geblieben, also libfreetype.so.6.3.5

__________________
Gruß Tüddelkopp

This post has been edited 2 time(s), it was last edited by tüddelkopp: 03.07.2006 12:00.

03.07.2006 11:57 tüddelkopp is offline Send an Email to tüddelkopp Homepage of tüddelkopp Search for Posts by tüddelkopp Add tüddelkopp to your Buddy List
Pages (2): [1] 2 next » Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
VDR Portal » Developer » VDR Plugins » [entgültig gelöst] text2skin und keine Truetype Renderung mehr

www.vdr-portal.de VDR Portal © 2002-2006 by genka
Forum Software: Burning Board 2.3.4, Developed by WoltLab GmbH