bugtex4ht - Bugs: bug #271, Wrong characters in PCR family

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #271: Wrong characters in PCR family

Submitted by:  Michal Hoftich <michal_h21>
Submitted on:  Mon 01 Feb 2016 02:54:30 PM EET  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 04 Feb 2016 01:33:59 AM EET, comment #3:

anthony thyssen has written much, much, information about the problem (as he has about seemingly all aspects of imagemagick).

there are some scripts and recipes in there among all the explanations. once you have an actual case at hand, it might be simplest to just ask anthony (assuming he's still active) for advice.

Karl Berry <karl>
Project Administrator
Tue 02 Feb 2016 09:32:49 PM EET, comment #2:

yes, maybe the char images could be generated at higher resolution and text characters can be saved as images with slimer.js or other headless browser. so this could be doable, I think. Imagemagick seems like easy and familiar tool to use :)

Michal Hoftich <michal_h21>
Project Member
Tue 02 Feb 2016 01:11:36 AM EET, comment #1:

thanks, installed in tex4ht and tl.

maybe some kind of image comparison program could avoid some of the manual validation? if each char can be dumped to an individual image. i could send you some tips i received one for doing comparisons with imagemagick if you like.

Karl Berry <karl>
Project Administrator
Mon 01 Feb 2016 02:54:30 PM EET, original submission:

In researching problem in this question on TeX.sx [1], I've found that `mcode.sty` package (which isn't on CTAN) switches to PCR family for code listings and it seems that there are some wrong characters (besided `^` there are some more). I've generated new HTF file using htfgen, patches for literate sources are attached.

PS: I've found Demiasta's font test code [2] really useful for testing HTF files, it might be interesting to run this test on all supported fonts. Visual validation would be quite laborious task though.

[1] http://tex.stackexchange.com/q/290014/2891
[2] https://github.com/dgalcius/kpfonts/tree/master/charpos

Michal Hoftich <michal_h21>
Project Member


Attached Files
file #225:  pcrro8r.patch added by michal_h21 (13kB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Feb 2016 01:11:36 AM EETkarlOpen/ClosedOpen=>Closed
    Mon 01 Feb 2016 02:54:30 PM EETmichal_h21Attached File-=>Added pcrro8r.patch, #225
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray