Colin B. Macdonald

Results 291 comments of Colin B. Macdonald

In [Octave's Symbolic package](https://github.com/cbm755/octsympy) our idea is greedily use Matrix whenever all elements are Expr and fall back to an XYZ when not. But we're not sure what to use...

I guess this is somehow related to this note; > For an existing font of the page, use its reference name as fontname (this is item[4] of its entry in...

> How did you determine that? Looking at the page with some viewer Correct, I was using `xpdf` and `Evince` (I'd forgotten those are the same renderer) on Fedora, and...

I think I followed all that. One nagging doubt: suppose I use TextWriter first and then `fontname="Helvetica"`. If TextWriter is embedding its own font, should `insert_textbox` really be deduping over...

That is not what I see: ![image](https://user-images.githubusercontent.com/818622/189438171-a0586e83-ea08-45e4-870d-5c02e1beb495.png) ``` 88.17499947547913 [(6, 'cid', 'Type0', 'Helvetica', 'F0', 'Identity-H')] ``` file: [foo.pdf](https://github.com/pymupdf/PyMuPDF/files/9538483/foo.pdf)

``` In [3]: fitz.version Out[3]: ('1.20.2', '1.20.3', '20220813000001') ```

Interestingly, in `xpdf` I see this: ![image](https://user-images.githubusercontent.com/818622/189439006-afa873dc-f97e-4585-ad88-b8c10f666db7.png)

Real old school, in `gv`, I get: ![image](https://user-images.githubusercontent.com/818622/189439154-8435b41c-3637-465e-9a60-fef6182ab056.png)

Oh, ok so your installation is from main branch or somewhere that has that fix? I don't need a quick fix, just trying to help.

I found this: https://pymupdf.readthedocs.io/en/latest/shape.html#commonparms Reading between the lines, I can guess what is happening from: > If letting default a color parameter to None, then no resp. color selection command...