To get the HP f2304 working over DVI at 1920x1200 the following modeline must be added to xorg.conf:
154.00 1920 1968 2000 2080 1200 1203 1209 1235 +HSync -Vsync