View Issue Details

IDProjectCategoryView StatusLast Update
0021450Open CASCADEOCCT:Visualizationpublic2012-01-10 16:33
ReportersanAssigned To 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.4.0 
Summary0021450: Missing text in PDF export
DescriptionThis bug was found during pre-sales activity for a potential customer.

If a 3D scene containing some text labels is exported to PDF format with help
of Visual3d_View::Export() method, the output file seems to contain no text
when opened by a PDF viewer (ex: Acrobat Reader), see the attached sample.
Colored rectangles are shown instead of text labels.
In fact, the file does contain the text, however it is screened by the
rectangles, which result from the font texture fragments being exported somehow
to PDF, instead of special PDF commands describing the text strings.
Thus it is necessary to bypass the regular text drawing code when in
GL_FEEDBACK render mode in order to correct the problem.

DRAW command (vexport) to be used to reproduce the porblem is attached.
Additional information
and documentation updates
Documentation remark, added by PSN 2010-02-11 09:39:07:

Improvements:
TKOpenGl link to gl2ps as a third-party shared library instead of including
gl2ps sources into OCCT sources. This is make OpenCascade more flexibility.
TagsNo tags attached.
Test case number

Attached Files

  • no_text.pdf (10,470 bytes)
  • DRAW_command.tar.gz (9,079 bytes)
  • san-OCC21450-OCC630.tar.gz (24,743 bytes)
  • ok_text.pdf (8,871 bytes)

Relationships

related to 0021091 closed Text rendering based on FTGL library 

Activities

2009-11-03 10:41

 

no_text.pdf (10,470 bytes)

2009-11-03 10:41

 

DRAW_command.tar.gz (9,079 bytes)

2009-11-03 11:08

 

san-OCC21450-OCC630.tar.gz (24,743 bytes)

2009-11-03 11:09

 

ok_text.pdf (8,871 bytes)

Issue History

Date Modified Username Field Change
2009-11-03 11:03 san OtherBugsDependingOnThis => 21091
2009-11-03 14:24 bugmaster Assigned To bugmaster => psn
2009-11-03 14:24 bugmaster Status new => assigned
2009-11-10 11:56 san CC =>
2010-04-07 11:26 bugmaster Status assigned => resolved
2010-04-07 11:26 bugmaster Status resolved => tested
2010-07-28 15:29 bugmaster Status tested => verified
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2012-01-10 16:33 atp Assigned To psn =>
2012-01-10 16:33 atp Description Updated
2012-01-10 16:33 atp Additional Information Updated