I modified the two files, replaced them in my 6.2.1 installation, and ran raco 
setup.

I created a simple test slide, and it beautifully filled my 2560x1440 screen, 
which has the same aspect ratio (16x9) as HD 1080p.  That’s a rather static 
solution, however.  One that embeds the aspect ratio in the presentation would 
be much preferable. Since 16x9 is such a common aspect ratio, a #lang 
slideshow/widescreen with that aspect ratio built in would be useful, but is 
beyond my Racket skills (I haven’t created a #lang yet).

But perhaps we can just parameterize screen-w and screen-h?  Would that require 
more than a pass through the source code to change the variables screen-w and 
screen-h to parameter calls (screen-w) and (screen-h)?

> On Oct 19, 2015, at 1:23 PM, Byron Davies <byrondav...@starshine.us> wrote:
> 
> Since it hasn’t already been done, I thought it might be more complicated 
> than just changing two numbers.  The numbers 1024/768 only appear in two 
> files: in cmdline.rkt, where they provide values for the variables screen-w 
> and screen-h within the unit cmdline@, and in slides-to-picts.rkt, where they 
> are hard-coded.
> 
> I guess I should just copy, modify, compile, and require to see what happens.
> 
> 
>> On Oct 19, 2015, at 1:06 PM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
>> 
>> To add to Robby's response a little (because I was trying to reply at
>> the same time):
>> 
>> You could create slides that claim to be 1024x768 virtual units but are
>> actually squashed and meant to be stretched out to a 16:9 ratio. Then,
>> using Slideshow's -a flag with a 16:9 display would look right.
>> 
>> That's a hack, obviously. I'm not sure of the right solution, but I
>> think it probably involves allowing a slide to declare its dimensions
>> (and therefore its aspect ratio). A good solution may also involve a
>> `slideshow/widescreen` library that is like `slideshow` but whose
>> `slide` form defaults to a 16:9 ratio instead of 4:3. Those solutions
>> involve changing Slideshow.
>> 
>> At Mon, 19 Oct 2015 14:56:25 -0500, Robby Findler wrote:
>>> It isn't that it assumes a display size of 1024x768. That's really
>>> more of an aspect ratio than anything. When you run the slideshow, it
>>> will scale everything to fit (and use big black bars to preserve the
>>> aspect ratio).
>>> 
>>> What happens if you just try it out on a big screen?
>>> 
>>> Or are you saying that you want a different ratio?
>>> 
>>> Robby
>>> 
>>> 
>>> On Mon, Oct 19, 2015 at 1:32 PM, Byron Davies <byrondav...@starshine.us> 
>>> wrote:
>>>> slideshow advertises that it’s configured for a display size of 1024x768.  
>>> If I want 1080p (1920x1080), is it as simple as changing 1024/768 in a 
>>> couple 
>>> of files to 1920/1080 and recompiling?
>>>> 
>>>> What’s the proper way to do this?  Is there a reason screen-w and screen-h 
>>> are not parameters?
>>>> 
>>>> --
>>>> You received this message because you are subscribed to the Google Groups 
>>> "Racket Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to racket-users+unsubscr...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Racket Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to racket-users+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to