[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pixel-based display functions
From: |
martin rudalics |
Subject: |
Re: Pixel-based display functions |
Date: |
Sun, 01 Feb 2015 17:30:27 +0100 |
> Maybe I misunderstand what Lars wants to do, but I think
> window-text-pixel-size is the wrong tool for the job: it returns the
> pixel size of text between 2 given positions, whereas Lars needs the
> opposite: where is the position that produces a given pixel size.
That's possible. But `window-text-pixel-size' would give him a way to
precalculate the sizes of chunks of his text and allow him to manually
insert linebreaks for each column. After that he would insert spaces as
column separators and go on. Tedious, but doing the same thing
(calculating line breaks with variable width font) in the display engine
sounds no fun either .
> Also, there's the visual vs logical order issue I mentioned in my
> other mail.
If `window-text-pixel-size' is kaput in that sense I'll have to fix it
anyway.
martin
- Re: Pixel-based display functions, (continued)
- Re: Pixel-based display functions, martin rudalics, 2015/02/01
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/01
- Re: Pixel-based display functions, martin rudalics, 2015/02/01
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/01
- Re: Pixel-based display functions,
martin rudalics <=
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/01
- Re: Pixel-based display functions, martin rudalics, 2015/02/01
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/01
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/01
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/04
- Re: Pixel-based display functions, Stefan Monnier, 2015/02/05
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/05
- Re: Pixel-based display functions, martin rudalics, 2015/02/06
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/06
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/06