Summary: | embedded ConvertUTF.c is buggy and licensed incompatibly with GPL/APGL | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Jonas Smedegaard <dr> |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Jonas Smedegaard
2016-09-17 10:11:06 UTC
This is only used by the pdfwrite device to convert UTF-16BE into UTF-8, and then only when we get an XMP pdfamrk with the data encoded in UTF-16BE. Its really rarely used so I'm not hugely keen on spending a lot of time on this. I doubt its bugginess affects us significantly. As regards the licence, the discussion makes it clear that the intent of the code was to be used as example code, which pretty much implies permission to modify. Granted it doesn't explicitly say so. The only real solution to this is to write our own implementation, which I guess I'll look into at some point. I don't regard this as critical though. Fixed in commit 273a1331138ee5702e7eb6409a853c598211b2 which does some other tidying up as well. |