| Summary: | text_extents error with empty string | ||
|---|---|---|---|
| Product: | pycairo | Reporter: | Dave Smith <dd> |
| Component: | general | Assignee: | Steve Chaplin <d74n5pohf9> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | high | ||
| Version: | unspecified | ||
| Hardware: | x86 (IA32) | ||
| OS: | Windows (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Can you provide a minimal test program which works on Linux and fails on Windows. This may have been a bug in cairo. Should be fixed with latest 1.3.x snapshots. Close bug, assuming it was a cairo bug which has been fixed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
We found a bug when u call function text_extents with empty string. print ctx.text_extents('')[2:4] Same problem is with function show_text. This results in MemoryError on Windows system. I was using cairo 1.2.6 and pycario 1.2.2-2 This works fine on linux systems.